Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Fix gap issue (#39754)

Saxon Fletchere64fae6513b9
diff --git a/packages/ui/src/components/shadcn/ui/sidebar.tsx b/packages/ui/src/components/shadcn/ui/sidebar.tsx
index a8e1bc59e42..a731edcfec0 100644
--- a/packages/ui/src/components/shadcn/ui/sidebar.tsx
+++ b/packages/ui/src/components/shadcn/ui/sidebar.tsx
@@ -219,8 +219,8 @@ const Sidebar = React.forwardRef<
{/* This is what handles the sidebar gap on desktop */}
<div
className={cn(
- overflowing ? 'absolute top-0' : 'relative', // sidebar custom changes - to contain the absolute sidebar below
- 'duration-100 h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear',
+ overflowing ? 'absolute top-0' : 'relative',
+ 'duration-100 h-full w-[--sidebar-width] bg-transparent transition-[width] ease-linear',
'group-data-[collapsible=offcanvas]:w-0',
'group-data-[side=right]:rotate-180',
variant === 'floating' || variant === 'inset'