Skip to content

Commit 02bac8c

Browse files
authored
fix: use consistent padding in sidebar (#100)
1 parent 932648c commit 02bac8c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/dashboard/components/layout/category-sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export function CategorySidebar({
8282
<TooltipTrigger asChild>
8383
<button
8484
className={cn(
85-
'flex items-center justify-center p-2 transition-colors hover:bg-muted/50',
85+
'flex items-center justify-center px-4 py-2 transition-colors hover:bg-muted/50',
8686
'focus:outline-none',
8787
isActive && 'bg-muted text-foreground'
8888
)}

apps/dashboard/components/layout/navigation/navigation-section.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export const NavigationSection = memo(function NavigationSectionComponent({
112112
return (
113113
<div className="border-muted-foreground/20 border-b border-dotted last:border-b-0">
114114
<button
115-
className="flex w-full items-center gap-3 px-3 py-2.5 text-left font-medium text-foreground text-sm transition-colors hover:bg-muted/50 focus:outline-none"
115+
className="flex w-full items-center gap-3 px-4 py-2 text-left font-medium text-foreground text-sm transition-colors hover:bg-muted/50 focus:outline-none"
116116
onClick={() => toggleAccordion(title, true)}
117117
type="button"
118118
>

0 commit comments

Comments
 (0)