Skip to content

Commit

Permalink
UI: Add center to root toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
fuma-nama committed Sep 6, 2024
1 parent 1a327cc commit 92e6e3d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/moody-camels-work.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'fumadocs-ui': patch
---

Add center to root toggle
2 changes: 1 addition & 1 deletion packages/ui/src/components/layout/root-toggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function RootToggle({
href={item.url}
onClick={onClick}
className={cn(
'flex w-full flex-row gap-2 p-2',
'flex w-full flex-row items-center gap-2.5 p-2',
selected === item
? 'bg-fd-accent text-fd-accent-foreground'
: 'hover:bg-fd-accent/50',
Expand Down

0 comments on commit 92e6e3d

Please sign in to comment.