mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
style: adjust padding and spacing in ThemeSwitcher component
This commit is contained in:
parent
812397235c
commit
fb1a74ec09
@ -40,9 +40,9 @@ export function ModeToggle() {
|
||||
<span className="sr-only">Toggle theme</span>
|
||||
</Button>
|
||||
</DropdownMenuTrigger>
|
||||
<DropdownMenuContent className="px-3 pt-3 pb-2" align="end">
|
||||
<DropdownMenuContent className="px-2 pt-2 pb-1.5" align="end">
|
||||
<fieldset className="space-y-4">
|
||||
<RadioGroup className="flex gap-3" defaultValue={theme} onValueChange={handleSelect}>
|
||||
<RadioGroup className="flex gap-2" defaultValue={theme} onValueChange={handleSelect}>
|
||||
{items.map((item) => (
|
||||
<label key={`${id}-${item.value}`}>
|
||||
<RadioGroupItem
|
||||
|
Loading…
Reference in New Issue
Block a user