Skip to content

Commit b8912aa

Browse files
committed
refac: styling
1 parent 626ad9c commit b8912aa

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

src/routes/auth/+page.svelte

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -172,28 +172,17 @@
172172
}}
173173
/>
174174
175-
<div class="w-full h-screen max-h-[100dvh] text-white relative">
175+
<div class="w-full h-screen max-h-[100dvh] text-white relative" id="auth-page">
176176
<div class="w-full h-full absolute top-0 left-0 bg-white dark:bg-black"></div>
177177
178178
<div class="w-full absolute top-0 left-0 right-0 h-8 drag-region" />
179179
180180
{#if loaded}
181-
<div class="fixed m-10 z-50">
182-
<div class="flex space-x-2">
183-
<div class=" self-center">
184-
<img
185-
id="logo"
186-
crossorigin="anonymous"
187-
src="{WEBUI_BASE_URL}/static/favicon.png"
188-
class=" w-6 rounded-full"
189-
alt=""
190-
/>
191-
</div>
192-
</div>
193-
</div>
181+
194182
195183
<div
196184
class="fixed bg-transparent min-h-screen w-full flex justify-center font-primary z-50 text-black dark:text-white"
185+
id="auth-container"
197186
>
198187
<div class="w-full px-10 min-h-screen flex flex-col text-center">
199188
{#if ($config?.features.auth_trusted_header ?? false) || $config?.features.auth === false}
@@ -515,5 +504,19 @@
515504
{/if}
516505
</div>
517506
</div>
507+
508+
<div class="fixed m-10 z-50">
509+
<div class="flex space-x-2">
510+
<div class=" self-center">
511+
<img
512+
id="logo"
513+
crossorigin="anonymous"
514+
src="{WEBUI_BASE_URL}/static/favicon.png"
515+
class=" w-6 rounded-full"
516+
alt=""
517+
/>
518+
</div>
519+
</div>
520+
</div>
518521
{/if}
519522
</div>

0 commit comments

Comments
 (0)