Skip to content

Commit eff8ceb

Browse files
committed
chore: update icon sizing on mobile tab switcher
1 parent 7af0887 commit eff8ceb

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/components/root-toggle.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function RootToggle({
3636

3737
const item = selected ? (
3838
<>
39-
<div className="size-9 shrink-0 md:size-5">{selected.icon}</div>
39+
<div className="size-5 shrink-0">{selected.icon}</div>
4040
<div>
4141
<p className="text-sm font-medium">{selected.title}</p>
4242
<p className="text-[13px] text-fd-muted-foreground empty:hidden md:hidden">
@@ -78,9 +78,7 @@ export function RootToggle({
7878
item.props?.className,
7979
)}
8080
>
81-
<div className="shrink-0 size-9 md:mt-1 md:mb-auto md:size-5">
82-
{item.icon}
83-
</div>
81+
<div className="shrink-0 size-5">{item.icon}</div>
8482
<div>
8583
<p className="text-sm font-medium">{item.title}</p>
8684
<p className="text-[13px] text-fd-muted-foreground empty:hidden">

0 commit comments

Comments
 (0)