Skip to content

Commit

Permalink
docs: make button size in site-header uniform (#1184)
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm authored Jul 15, 2024
1 parent 1a84700 commit 45f38a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/www/src/lib/components/docs/mode-toggle.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<DropdownMenu.Root>
<DropdownMenu.Trigger asChild let:builder>
<Button builders={[builder]} variant="ghost" class="w-9 px-0">
<Button builders={[builder]} variant="ghost" class="h-8 w-8 px-0">
<Sun
class="dark:-roate-90 h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:scale-0"
/>
Expand Down
4 changes: 2 additions & 2 deletions apps/www/src/lib/components/docs/site-header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
size: "sm",
variant: "ghost",
}),
"w-9 px-0"
"h-8 w-8 px-0"
)}
>
<Icons.gitHub class="h-4 w-4" />
Expand All @@ -43,7 +43,7 @@
size: "sm",
variant: "ghost",
}),
"w-9 px-0"
"h-8 w-8 px-0"
)}
>
<Icons.twitter class="h-3 w-3 fill-current" />
Expand Down

0 comments on commit 45f38a6

Please sign in to comment.