Skip to content

Commit feb2e32

Browse files
fix(web): align sidebar button geometry with shared tokens (#22287)
1 parent 003ccd3 commit feb2e32

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -720,8 +720,8 @@ const sidebarMenuButtonVariants = cva(
720720
default:
721721
"h-8 rounded-[var(--control-radius)] px-[var(--sidebar-row-content-inset)] py-1.5 text-sm",
722722
icon: "size-8 justify-center rounded-[var(--control-radius)] p-0",
723-
lg: "h-12 rounded-lg p-2 text-sm group-data-[collapsible=icon]:p-0!",
724-
sm: "h-7 rounded-lg p-2 text-xs",
723+
lg: "h-12 rounded-[var(--control-radius)] px-[var(--sidebar-row-content-inset)] py-2 text-sm group-data-[collapsible=icon]:p-0!",
724+
sm: "h-7 rounded-[var(--control-radius)] px-[var(--sidebar-row-content-inset)] py-2 text-xs",
725725
},
726726
variant: {
727727
default: "font-medium text-sidebar-muted-foreground/80",

0 commit comments

Comments
 (0)