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:
Aamer Akhter
2026-06-20 10:48:52 -04:00
parent c95e94e4cb
commit 11bacf67a0
+5 -2
View File
@@ -434,11 +434,14 @@ html.mobile-init .file-browser-panel {
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
--hidden marker, so it needs no mobile-specific rule here.) */
.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;
}