From 5b8bec6a000957bf424223708638a08d7486ef4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Mon, 29 Jun 2026 16:06:55 +0200 Subject: [PATCH] Cut off overlong sidebar link texts with ellipses --- app/styles/app.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/app/styles/app.css b/app/styles/app.css index 1aafd6b..14a1b97 100644 --- a/app/styles/app.css +++ b/app/styles/app.css @@ -1266,6 +1266,20 @@ span.icon { gap: 0.5rem; } +.content-with-icon > span:not(.icon) { + min-width: 0; + flex: 1; +} + +.content-with-icon > span:not(.icon) a { + display: inline-block; + max-width: 100%; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + vertical-align: bottom; +} + .content-with-icon .icon { margin-top: 0.15rem; }