From 874ccbdcc78fa063a80c8937103f664d105b3293 Mon Sep 17 00:00:00 2001 From: wonder Date: Sun, 31 May 2026 00:09:46 +0800 Subject: [PATCH] fix: add CSS to truncate overflowing header navigation in Frankfurt theme --- styles/index.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 styles/index.css diff --git a/styles/index.css b/styles/index.css new file mode 100644 index 0000000..c66a314 --- /dev/null +++ b/styles/index.css @@ -0,0 +1,14 @@ +/* Fix header navigation overflow in Frankfurt theme */ +header .flex-1 { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + min-width: 0; +} + +header .flex-1 > div:first-child { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + font-size: 0.75rem; +}