mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-09 00:49:41 +02:00
fix(mobile): COD-8 hide away-digest header button on phones
The mobile-header-buttons-policy static guard requires every default-visible header button to make an explicit phone-visibility decision. The new .btn-away-digest button had none, failing CI. Hide it on phones alongside .btn-settings / .btn-lifecycle-log — it's a secondary informational control that doesn't belong on the cramped phone header.
This commit is contained in:
@@ -434,11 +434,14 @@ html.mobile-init .file-browser-panel {
|
|||||||
height: 12px;
|
height: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hide header settings gear and lifecycle log on mobile - settings moved to toolbar.
|
/* Hide header settings gear, lifecycle log, and away digest on mobile - settings
|
||||||
|
moved to toolbar; away digest is a secondary informational control that doesn't
|
||||||
|
belong on the cramped phone header.
|
||||||
(The attachments button is opt-in / default-hidden everywhere via its own
|
(The attachments button is opt-in / default-hidden everywhere via its own
|
||||||
--hidden marker, so it needs no mobile-specific rule here.) */
|
--hidden marker, so it needs no mobile-specific rule here.) */
|
||||||
.btn-icon-header.btn-settings,
|
.btn-icon-header.btn-settings,
|
||||||
.btn-icon-header.btn-lifecycle-log {
|
.btn-icon-header.btn-lifecycle-log,
|
||||||
|
.btn-icon-header.btn-away-digest {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user