Skip to content

Commit f204389

Browse files
fix(web): match sidebar footer bottom padding to its horizontal inset (#22027)
Co-authored-by: maria-rcks <[email protected]>
1 parent f4a82ca commit f204389

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,10 @@ function SidebarHeader({ className, ...props }: React.ComponentProps<"div">) {
630630
function SidebarFooter({ className, ...props }: React.ComponentProps<"div">) {
631631
return (
632632
<div
633-
className={cn("flex flex-col gap-2 px-[var(--sidebar-content-inset)] py-1", className)}
633+
className={cn(
634+
"flex flex-col gap-2 px-[var(--sidebar-content-inset)] pt-1 pb-[var(--sidebar-content-inset)]",
635+
className,
636+
)}
634637
data-sidebar="footer"
635638
data-slot="sidebar-footer"
636639
{...props}

0 commit comments

Comments
 (0)