diff options
| author | David Hill <[email protected]> | 2026-01-16 13:05:50 +0000 |
|---|---|---|
| committer | David Hill <[email protected]> | 2026-01-16 13:05:50 +0000 |
| commit | 46f415ecb0958446383a0201133089d09f7b78cd (patch) | |
| tree | 28ab74022d2831740e88c041849c72751784581e | |
| parent | d0399045dae4a1b74b97aa3662f85b5105b7a1d5 (diff) | |
| download | opencode-46f415ecb0958446383a0201133089d09f7b78cd.tar.gz opencode-46f415ecb0958446383a0201133089d09f7b78cd.zip | |
fix: desktop hamburger shift
| -rw-r--r-- | packages/app/src/components/titlebar.tsx | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/packages/app/src/components/titlebar.tsx b/packages/app/src/components/titlebar.tsx index 09e896fb5..272f85144 100644 --- a/packages/app/src/components/titlebar.tsx +++ b/packages/app/src/components/titlebar.tsx @@ -80,11 +80,16 @@ export function Titlebar() { onMouseDown={drag} > <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> - <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 class={web() ? "hidden xl:flex shrink-0 ml-14" : "hidden xl:flex shrink-0"} placement="bottom" |
