From 21e2039433839280101e2a9f35d82ea1df35e169 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Wed, 2 Sep 2026 16:07:14 +0200 Subject: [PATCH] edit tab length Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- src/components/Tabs.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Tabs.tsx b/src/components/Tabs.tsx index 8106c87..97fabaf 100644 --- a/src/components/Tabs.tsx +++ b/src/components/Tabs.tsx @@ -24,7 +24,7 @@ export function stepTabValue(items: TabItem[], value: string, delta: number): st } function innerWidth(label: string): number { - return label.length + 2; + return [...label].length + 2; } function segmentWidth(label: string): number {