fix: desktop hamburger shift
This commit is contained in:
@@ -80,11 +80,16 @@ export function Titlebar() {
|
|||||||
onMouseDown={drag}
|
onMouseDown={drag}
|
||||||
>
|
>
|
||||||
<Show when={mac()}>
|
<Show when={mac()}>
|
||||||
<div class="w-[72px] h-full shrink-0 xl:block hidden" data-tauri-drag-region />
|
<div class="w-[72px] h-full shrink-0" data-tauri-drag-region />
|
||||||
|
<div class="xl:hidden w-10 shrink-0 flex items-center justify-center">
|
||||||
|
<IconButton icon="menu" variant="ghost" class="size-8 rounded-md" onClick={layout.mobileSidebar.toggle} />
|
||||||
|
</div>
|
||||||
|
</Show>
|
||||||
|
<Show when={!mac()}>
|
||||||
|
<div class="xl:hidden w-[48px] shrink-0 flex items-center justify-center">
|
||||||
|
<IconButton icon="menu" variant="ghost" class="size-8 rounded-md" onClick={layout.mobileSidebar.toggle} />
|
||||||
|
</div>
|
||||||
</Show>
|
</Show>
|
||||||
<div class="xl:hidden w-[48px] shrink-0 flex items-center justify-center">
|
|
||||||
<IconButton icon="menu" variant="ghost" class="size-8 rounded-md" onClick={layout.mobileSidebar.toggle} />
|
|
||||||
</div>
|
|
||||||
<TooltipKeybind
|
<TooltipKeybind
|
||||||
class={web() ? "hidden xl:flex shrink-0 ml-14" : "hidden xl:flex shrink-0"}
|
class={web() ? "hidden xl:flex shrink-0 ml-14" : "hidden xl:flex shrink-0"}
|
||||||
placement="bottom"
|
placement="bottom"
|
||||||
|
|||||||
Reference in New Issue
Block a user