diff --git a/apps/studio/components/layouts/NavigationV2/AppSidebarV2.tsx b/apps/studio/components/layouts/NavigationV2/AppSidebarV2.tsx index ef22b02a0c7..752bf7ccab0 100644 --- a/apps/studio/components/layouts/NavigationV2/AppSidebarV2.tsx +++ b/apps/studio/components/layouts/NavigationV2/AppSidebarV2.tsx @@ -281,7 +281,7 @@ export function AppSidebarV2({ scope }: AppSidebarV2Props = {}) { return ( <> - +
{isProjectScope ? : IS_PLATFORM ? : null} diff --git a/apps/studio/components/layouts/NavigationV2/DefaultLayoutV2.tsx b/apps/studio/components/layouts/NavigationV2/DefaultLayoutV2.tsx index b13e111306a..66f82eec145 100644 --- a/apps/studio/components/layouts/NavigationV2/DefaultLayoutV2.tsx +++ b/apps/studio/components/layouts/NavigationV2/DefaultLayoutV2.tsx @@ -17,9 +17,9 @@ export interface DefaultLayoutV2Props { headerTitle?: string } -const contentMaxSizePercentage = 70 -const leftSidebarMinSize = 220 +const leftSidebarMinSize = 180 const leftSidebarMaxSize = 450 +const leftSidebarDefaultSize = '250px' /** * New three-column layout for the dashboard (V2 navigation). @@ -45,7 +45,7 @@ export const DefaultLayoutV2 = ({ children }: PropsWithChildren -
+
@@ -59,7 +59,7 @@ export const DefaultLayoutV2 = ({ children }: PropsWithChildren @@ -67,9 +67,9 @@ export const DefaultLayoutV2 = ({ children }: PropsWithChildren
{children}
diff --git a/packages/ui/src/components/shadcn/ui/sidebar.tsx b/packages/ui/src/components/shadcn/ui/sidebar.tsx index e9af2a756f3..e0cab842eec 100644 --- a/packages/ui/src/components/shadcn/ui/sidebar.tsx +++ b/packages/ui/src/components/shadcn/ui/sidebar.tsx @@ -131,7 +131,7 @@ const SidebarProvider = React.forwardRef< } as React.CSSProperties } className={cn( - 'group/sidebar-wrapper flex min-h-svh w-full has-[[data-variant=inset]]:bg-sidebar', + 'group/sidebar-wrapper flex min-h-full w-full has-[[data-variant=inset]]:bg-sidebar', className )} ref={ref}