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>
This commit is contained in:
1 parent
33dfebab9e
commit
04ea1db1ab
1 file changed
+11
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user