fix: remove icon margin overrides from mode toggle menu items
This commit is contained in:
@@ -38,21 +38,21 @@ export function ModeToggle() {
|
||||
onClick={() => setTheme("light")}
|
||||
className={theme === "light" ? "bg-accent" : ""}
|
||||
>
|
||||
<Sun className="h-3.5 w-3.5 mr-2" />
|
||||
<Sun className="h-3.5 w-3.5" />
|
||||
Light
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem
|
||||
onClick={() => setTheme("dark")}
|
||||
className={theme === "dark" ? "bg-accent" : ""}
|
||||
>
|
||||
<Moon className="h-3.5 w-3.5 mr-2" />
|
||||
<Moon className="h-3.5 w-3.5" />
|
||||
Dark
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem
|
||||
onClick={() => setTheme("system")}
|
||||
className={theme === "system" ? "bg-accent" : ""}
|
||||
>
|
||||
<Monitor className="h-3.5 w-3.5 mr-2" />
|
||||
<Monitor className="h-3.5 w-3.5" />
|
||||
System
|
||||
</DropdownMenuItem>
|
||||
</DropdownMenuContent>
|
||||
|
||||
Reference in New Issue
Block a user