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 }