Board header: hide button text labels on narrow windows (icons only).

When the window is not wide enough, the 2nd header bar button labels (Private,
Muted, Sort, Multi-Selection, ...) wrapped to a second row. Add a max-width:
1200px media query that hides the .board-header-btn text spans (show icons
only), keeping the board title and the buttons on one line. The star count
(.board-star-counter) is kept.

Guarded in tests/headerHamburger.test.cjs.
This commit is contained in:
Lauri Ojansivu committed 2026-07-18 01:05:15 +03:00
1 parent bd72f5d64c
commit cfd53cc969
2 files changed
+16

No files matched your search

+9
View File
@@ -94,6 +94,15 @@
margin-top: 1px;
margin-inline-end: 10px;
}
/* Board view: on windows too narrow for the button text labels (Private, Muted,
Sort, Multi-Selection, ...) to fit on one line, show ICONS ONLY — keeping the
board title and the buttons — instead of the labels wrapping to a second row.
The star count (a small number, not a text label) stays. */
@media screen and (max-width: 1200px) {
#header #header-main-bar .board-header-btn i.fa + span:not(.board-star-counter) {
display: none;
}
}
#header #header-main-bar .board-header-btn .board-header-btn-close {
float: inline-end;
}