From 4c7f4502c92e9fe14c3390ee5adb1c0ffe456efa Mon Sep 17 00:00:00 2001 From: Juan Denis Date: Tue, 10 Nov 2026 02:28:57 -0500 Subject: [PATCH] fix(ui): pin modal action rows flush to the bottom edge --- frontend/src/styles/components/_ui.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/src/styles/components/_ui.scss b/frontend/src/styles/components/_ui.scss index 53b8daeb..65dd6010 100644 --- a/frontend/src/styles/components/_ui.scss +++ b/frontend/src/styles/components/_ui.scss @@ -957,13 +957,14 @@ // Hand-rolled trailing action rows live inside the body (the form wraps // it); pin them to the bottom of the scroll area so they stay reachable. - // Sticky offsets from the scrollport edge, so bottom: 0 is flush; the - // negative margins cancel the body padding. + // Sticky offsets are measured from the padding-box inset, so bottom must + // be -$space-4 (the body's bottom padding) to sit flush; the negative + // margins cancel the body padding. .modal-actions:last-child, .modal-footer:last-child, .form-actions:last-child { position: sticky; - bottom: 0; + bottom: -$space-4; z-index: 1; flex-wrap: wrap; align-items: center;