Browse Source

fix: updated project/sessions list width

this was originally 280px and included the 64px project avatar rail on the left, so the sessions list portion was actually 280 - 64 = 216px wide (as seen in line 1362: Math.max(layout.sidebar.width() - 64, 0)px).

i kept the logic the same in case it broke anything, i just updated the new width to account for new projects avatar panel
David Hill 1 month ago
parent
commit
2c5437791b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/app/src/context/layout.tsx

+ 1 - 1
packages/app/src/context/layout.tsx

@@ -72,7 +72,7 @@ export const { use: useLayout, provider: LayoutProvider } = createSimpleContext(
       createStore({
         sidebar: {
           opened: false,
-          width: 280,
+          width: 344,
           workspaces: {} as Record<string, boolean>,
           workspacesDefault: false,
         },