Merge pull request #2720 from GSA/clean-up-js

Unnecessary large white space below footer
This commit is contained in:
ccostino
2025-06-27 17:18:44 -04:00
committed by GitHub
2 changed files with 8 additions and 9 deletions

View File

@@ -316,13 +316,6 @@ td.table-empty-message {
} }
.js-stick-at-bottom-when-scrolling { .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; display: flex;
align-items: flex-end; align-items: flex-end;
justify-content: space-between; justify-content: space-between;
@@ -554,11 +547,17 @@ td.table-empty-message {
background-color: #a1d3ff; background-color: #a1d3ff;
} }
#template-list,
#template-list > div,
.sticky-scroll-area {
position: relative;
}
#template-list { #template-list {
max-height: 500px; max-height: 500px;
overflow-y: auto; overflow-y: auto;
padding: units(1) 0 units(1) units(1); padding: units(1) 0 units(1) units(1);
margin: units(2) 0 units(5); margin: units(2) 0 units(6);
ul { ul {
padding: 0; padding: 0;
margin: 0; margin: 0;

View File

@@ -59,7 +59,7 @@
{{ live_search(target_selector='#template-list .template-list-item', show=show_search_box, form=search_form) }} {{ live_search(target_selector='#template-list .template-list-item', show=show_search_box, form=search_form) }}
<div class="js-live-search-no-results" style="display: none;"> <div class="js-live-search-no-results js-hidden">
<p class="usa-body margin-top-2">No templates found</p> <p class="usa-body margin-top-2">No templates found</p>
</div> </div>