From 01b1004ab57280b80db12040cdeb193beebd3544 Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Fri, 27 Jun 2025 12:40:01 -0700 Subject: [PATCH] Unnecessary large white space below footer --- .../sass/uswds/_uswds-theme-custom-styles.scss | 15 +++++++-------- app/templates/views/templates/choose.html | 2 +- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/app/assets/sass/uswds/_uswds-theme-custom-styles.scss b/app/assets/sass/uswds/_uswds-theme-custom-styles.scss index c795d98f8..e10071f3d 100644 --- a/app/assets/sass/uswds/_uswds-theme-custom-styles.scss +++ b/app/assets/sass/uswds/_uswds-theme-custom-styles.scss @@ -316,13 +316,6 @@ td.table-empty-message { } .js-stick-at-bottom-when-scrolling { - position: sticky; - bottom: 0; - background: white; - border-top: 1px solid color('gray-cool-10'); - padding: units(2); - margin-top: units(2); - z-index: 10; display: flex; align-items: flex-end; justify-content: space-between; @@ -554,11 +547,17 @@ td.table-empty-message { background-color: #a1d3ff; } +#template-list, +#template-list > div, +.sticky-scroll-area { + position: relative; +} + #template-list { max-height: 500px; overflow-y: auto; padding: units(1) 0 units(1) units(1); - margin: units(2) 0 units(5); + margin: units(2) 0 units(6); ul { padding: 0; margin: 0; diff --git a/app/templates/views/templates/choose.html b/app/templates/views/templates/choose.html index 4589a9682..eaebab38f 100644 --- a/app/templates/views/templates/choose.html +++ b/app/templates/views/templates/choose.html @@ -59,7 +59,7 @@ {{ live_search(target_selector='#template-list .template-list-item', show=show_search_box, form=search_form) }} -