From 11bacf67a0d41621e7f937cab54f12d65c421f3f Mon Sep 17 00:00:00 2001 From: Aamer Akhter Date: Sat, 20 Jun 2026 10:48:52 -0400 Subject: [PATCH] fix(mobile): COD-8 hide away-digest header button on phones MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- src/web/public/mobile.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/web/public/mobile.css b/src/web/public/mobile.css index c6a41980..992d4bc2 100644 --- a/src/web/public/mobile.css +++ b/src/web/public/mobile.css @@ -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; }