Browse Source

fix: move left panel toggle over

- not sure how this impacts on the titlebar when the traffic lights are there
David Hill 1 month ago
parent
commit
bb6e350d68
2 changed files with 3 additions and 3 deletions
  1. 1 1
      packages/app/src/components/titlebar.tsx
  2. 2 2
      packages/app/src/pages/layout.tsx

+ 1 - 1
packages/app/src/components/titlebar.tsx

@@ -88,7 +88,7 @@ export function Titlebar() {
           onClick={layout.mobileSidebar.toggle}
         />
         <TooltipKeybind
-          class="hidden xl:flex shrink-0"
+          class="hidden xl:flex shrink-0 ml-14"
           placement="bottom"
           title="Toggle sidebar"
           keybind={command.keybind("sidebar.toggle")}

+ 2 - 2
packages/app/src/pages/layout.tsx

@@ -1333,10 +1333,10 @@ export default function Layout(props: ParentProps) {
                           as={IconButton}
                           icon="dot-grid"
                           variant="ghost"
-                          class="shrink-0 size-6 rounded-md hidden group-hover/project:flex group-focus-within/project:flex"
+                          class="shrink-0 size-6 rounded-md opacity-0 group-hover/project:opacity-100 data-[expanded]:opacity-100 data-[expanded]:bg-surface-base-active"
                         />
                         <DropdownMenu.Portal>
-                          <DropdownMenu.Content>
+                          <DropdownMenu.Content class="mt-1">
                             <DropdownMenu.Item onSelect={() => dialog.show(() => <DialogEditProject project={p} />)}>
                               <DropdownMenu.ItemLabel>Edit project</DropdownMenu.ItemLabel>
                             </DropdownMenu.Item>