From 7bf99f1c224d7e803f6b96cc3b82f091ac657153 Mon Sep 17 00:00:00 2001 From: thislight Date: Fri, 3 Jan 2025 20:47:06 +0800 Subject: [PATCH] Tab: use bigger font-size for CJK --- src/material/Tab.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/material/Tab.css b/src/material/Tab.css index 83bff90..38f49d3 100644 --- a/src/material/Tab.css +++ b/src/material/Tab.css @@ -9,6 +9,15 @@ font-weight: 600; text-transform: uppercase; transition: color 120ms var(--tutu-anim-curve-std); + + :root:where([lang^="zh"], + [lang="zh"], + [lang^="kr"], + [lang="kr"], + [lang^="ja"], + [lang="ja"]) & { + font-size: 0.85rem; + } } .MuiToolbar-root .Tab {