From c81701d440262728c024179bc616cd2297b28f8d Mon Sep 17 00:00:00 2001 From: wonder Date: Sun, 31 May 2026 00:13:56 +0800 Subject: [PATCH] fix: prevent header nav text wrapping in Frankfurt theme --- styles/index.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/styles/index.css b/styles/index.css index c66a314..68b69eb 100644 --- a/styles/index.css +++ b/styles/index.css @@ -1,14 +1,18 @@ /* Fix header navigation overflow in Frankfurt theme */ +header { + overflow: hidden; +} + header .flex-1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; + max-width: 150px; } -header .flex-1 > div:first-child { +header .flex-1 > div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - font-size: 0.75rem; }