Compare commits

..
1 Commits
Author SHA1 Message Date
terminarandClaude Opus 5.5 04ea1db1ab 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 <noreply@anthropic.com>
2026-11-28 11:33:44 +01:00
+11
View File
@@ -695,6 +695,17 @@ body.no-sidebar main {
padding: .35rem .8rem; 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 { [data-style="modern"] .navbar .btn-outline-secondary {
--bs-btn-color: var(--yw-text); --bs-btn-color: var(--yw-text);
--bs-btn-border-color: var(--yw-border); --bs-btn-border-color: var(--yw-border);