Skip to content

Commit 3e4d4c9

Browse files
committed
Widen sidebar separator in footer
- Use a full-width calc-based width for the sidebar separator - Keeps footer separator aligned with sidebar padding
1 parent d1453d0 commit 3e4d4c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/web/src/components/ui/sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ function SidebarFooter({ className, ...props }: React.ComponentProps<"div">) {
704704
function SidebarSeparator({ className, ...props }: React.ComponentProps<typeof Separator>) {
705705
return (
706706
<Separator
707-
className={cn("mx-2 w-auto bg-sidebar-border", className)}
707+
className={cn("mx-2 w-[calc(100%-1rem)] bg-sidebar-border", className)}
708708
data-sidebar="separator"
709709
data-slot="sidebar-separator"
710710
{...props}

0 commit comments

Comments
 (0)