style(frontend): apply ultracite 7.12 formatting and lint rules
This commit is contained in:
1 parent
fc4758aa0b
commit
c8e5cff871
109 files changed
+845
-817
No files matched your search
@@ -21,6 +21,7 @@
|
||||
|
||||
let { children } = $props();
|
||||
|
||||
// biome-ignore lint/suspicious/noEqualsToNull: route params are undefined when absent
|
||||
const chatOpen = $derived(page.params.chatId != null);
|
||||
|
||||
$effect(() => {
|
||||
@@ -36,40 +37,40 @@
|
||||
|
||||
<div
|
||||
id="Main"
|
||||
class:with-right={ui.rightPanel !== null}
|
||||
class:chat-open={chatOpen}
|
||||
class:with-right={ui.rightPanel !== null}
|
||||
>
|
||||
<div id="LeftColumn">
|
||||
{#if ui.leftView === "settings"}
|
||||
<div
|
||||
class="left-view"
|
||||
in:fly={{ x: 64, duration: 200, easing: cubicOut }}
|
||||
in:fly={{ duration: 200, easing: cubicOut, x: 64 }}
|
||||
>
|
||||
<Settings />
|
||||
</div>
|
||||
{:else}
|
||||
<div
|
||||
class="left-view"
|
||||
in:fly={{ x: -64, duration: 200, easing: cubicOut }}
|
||||
in:fly={{ duration: 200, easing: cubicOut, x: -64 }}
|
||||
>
|
||||
<header class="left-header">
|
||||
{#if search.active}
|
||||
<Button
|
||||
variant="translucent"
|
||||
aria-label="Назад"
|
||||
onclick={() => search.close()}
|
||||
round
|
||||
smaller
|
||||
onclick={() => search.close()}
|
||||
aria-label="Назад"
|
||||
variant="translucent"
|
||||
>
|
||||
<Icon name="arrow-left" />
|
||||
</Button>
|
||||
{:else}
|
||||
<Button
|
||||
variant="translucent"
|
||||
aria-label="Меню"
|
||||
onclick={() => ui.openSettings()}
|
||||
round
|
||||
smaller
|
||||
onclick={() => ui.openSettings()}
|
||||
aria-label="Меню"
|
||||
variant="translucent"
|
||||
>
|
||||
<Icon name="menu" />
|
||||
</Button>
|
||||
@@ -93,7 +94,7 @@
|
||||
{#if ui.rightPanel !== null}
|
||||
<div
|
||||
id="RightColumn"
|
||||
transition:fly={{ x: 320, duration: 200, easing: cubicOut }}
|
||||
transition:fly={{ duration: 200, easing: cubicOut, x: 320 }}
|
||||
>
|
||||
<RightColumn />
|
||||
</div>
|
||||
@@ -101,10 +102,10 @@
|
||||
</div>
|
||||
|
||||
<ShareDialog
|
||||
bind:open={shareUi.open}
|
||||
subject={shareUi.subject}
|
||||
label={shareUi.label}
|
||||
onchange={() => shareUi.touch()}
|
||||
subject={shareUi.subject}
|
||||
bind:open={shareUi.open}
|
||||
/>
|
||||
|
||||
<style lang="scss">
|
||||
|
||||
Reference in new issue
Block a user