Skip to content

Commit 7932b4a

Browse files
committed
style(components): replace icon size classes for consistency
Updated icon sizing classes for consistency across components.
1 parent 4967d65 commit 7932b4a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/locale-switcher.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default function LocaleSwitcher({ className }: LocalSwitcherProps) {
2525
<span className="sr-only">
2626
<Trans>Open options</Trans>
2727
</span>
28-
<LanguageIcon className="h-7 w-7" aria-hidden="true" />
28+
<LanguageIcon className="size-7" aria-hidden="true" />
2929
</Menu.Button>
3030
</div>
3131

src/components/theme-switcher.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ export default function ThemeSwitcher({ className }: ThemeSwitcherProps) {
4545
>
4646
<button onClick={toggleTheme} className="flex items-center">
4747
{isDarkMode ? (
48-
<SunIcon className="h-7 w-7" />
48+
<SunIcon className="size-7" />
4949
) : (
50-
<MoonIcon className="h-7 w-7" />
50+
<MoonIcon className="size-7" />
5151
)}
5252
<span className="sr-only">
5353
{isDarkMode ? t`Switch to light theme` : t`Switch to dark theme`}

0 commit comments

Comments
 (0)