diff --git a/src/components/ui/sidebar.tsx b/src/components/ui/sidebar.tsx index aa83295d..112ee825 100644 --- a/src/components/ui/sidebar.tsx +++ b/src/components/ui/sidebar.tsx @@ -355,11 +355,15 @@ function SidebarSeparator({ className, ...props }: React.ComponentProps) { + // `data-horizontal:w-auto` (not a plain `w-auto`) so it dedupes against the base + // Separator's `data-horizontal:w-full`; otherwise both survive tailwind-merge and + // the line stays full-width, overflowing the `mx-2` inset (most visible in the + // collapsed icon rail, where it spilled past the right edge). return ( )