From f0a12b4da03f36d5ebf8e5793ed762b6ef5ff685 Mon Sep 17 00:00:00 2001 From: Hermes Date: Thu, 19 Nov 2026 01:08:44 -0800 Subject: [PATCH] =?UTF-8?q?[grade=3DA=20urn:ump:hcafqotzptwezjtp2ml7o2ckjm?= =?UTF-8?q?4z4omfbuc7fnzghbuaacaxisda]=20ux(DC-171):=20chunk=202=20?= =?UTF-8?q?=E2=80=94=20modal=20action=20bars=20always=20visible=20(sticky?= =?UTF-8?q?=20footer)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Edit/Add/Delete service modals (.weather-modal-content, max-height 90vh, scrollable) rendered Cancel/Save at the END of the scrollable content — on the Edit Service form (920px content in a 413px viewport) Save Changes sat below the fold. The action bar is now position:sticky bottom:0 inside the scroll container, bleeding to the modal's real edges (24px base / 14px add-service, which also had an earlier !important margin-top rule — the new scoped rule is authoritative) with a border-top separator and card-base background: a footer bar that is ALWAYS reachable. Verified live (authenticated Chromium): Edit SamiMail saveVisible:true (920px content scrolling behind the pinned bar); Add Service footer visible + bleeds both edges + sticky. Short modals unaffected — sticky only engages when content overflows. CSS-only, no markup/JS changes. Frontend 68/68. r1 grade C (footer bleed mismatch) fixed and live-reverified. --- status/css/dashboard.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/status/css/dashboard.css b/status/css/dashboard.css index c6b46d8..5c2e997 100644 --- a/status/css/dashboard.css +++ b/status/css/dashboard.css @@ -1372,6 +1372,28 @@ button:focus-visible { justify-content: flex-end } +/* UX pass chunk 2: modal action bars (Cancel/Save) must stay reachable on + tall forms — sticky to the visible bottom of the scrollable modal instead + of living below the fold. Bleeds to the modal edges so it reads as a + footer bar. */ +.weather-modal-content > .weather-modal-buttons { + position: sticky; + bottom: 0; + margin: 24px -24px -24px; + padding: 12px 24px; + background: var(--card-base); + border-top: 1px solid var(--border); + z-index: 2; +} + +/* add-service modal: content padding is 14px (verified computed) and an + earlier !important rule sets margin-top:10px — authoritative footer + geometry: keep the 10px top gap, bleed 14px to the real container edges */ +#add-service-modal .weather-modal-content > .weather-modal-buttons { + margin: 10px -14px -14px !important; + padding: 10px 14px; +} + .weather-modal button { margin: 0 }