Skip to content

Commit 0a907ef

Browse files
webui: align sidebar trigger position, remove z-index glitch
1 parent 0cf3135 commit 0a907ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/server/webui/src/routes/+layout.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,10 @@
165165
</Sidebar.Root>
166166

167167
<Sidebar.Trigger
168-
class="transition-left absolute h-8 w-8 duration-200 ease-linear {sidebarOpen
168+
class="transition-left absolute left-0 z-[900] h-8 w-8 duration-200 ease-linear {sidebarOpen
169169
? 'md:left-[var(--sidebar-width)]'
170-
: 'left-0'}"
171-
style="translate: 1rem 1rem; z-index: 99999;"
170+
: ''}"
171+
style="translate: 1rem 1rem;"
172172
/>
173173

174174
<Sidebar.Inset class="flex flex-1 flex-col overflow-hidden">

0 commit comments

Comments
 (0)