From 04ea1db1abffd5f2c92dc7074b3d1ecbfeecd53b Mon Sep 17 00:00:00 2001 From: Bjoern Kalkbrenner Date: Sat, 28 Nov 2026 11:33:44 +0100 Subject: [PATCH] Modern style: navbar buttons stay on one line A consumer's long left-hand navbar extra (yasta's config path) pushed the right-hand buttons into two lines under the modern style's wider button padding. The buttons now keep white-space: nowrap and the left group may shrink, so the extra wraps instead. Co-Authored-By: Claude Opus 5.5 --- static/style.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/static/style.css b/static/style.css index b7dc2ec..f43376f 100644 --- a/static/style.css +++ b/static/style.css @@ -695,6 +695,17 @@ body.no-sidebar main { padding: .35rem .8rem; } +/* Navbar buttons and the menu toggle stay on one line; a consumer's + long left-hand extra (yasta's config path) wraps instead. */ +[data-style="modern"] .navbar .btn, +[data-style="modern"] .yw-user { + white-space: nowrap; +} + +[data-style="modern"] .navbar > .container-fluid > div:first-child { + min-width: 0; +} + [data-style="modern"] .navbar .btn-outline-secondary { --bs-btn-color: var(--yw-text); --bs-btn-border-color: var(--yw-border);