Make the entire toolbar sticky

This commit is contained in:
ghuds540 2025-12-02 20:47:55 -05:00
parent c6ae43c1d6
commit 77e793eb4f

View file

@ -919,13 +919,16 @@ input[type="range"].zoom-slider {
.filtered-list-toolbar { .filtered-list-toolbar {
align-items: center; align-items: center;
background-color: $body-bg; background-color: $body-bg;
border-radius: 0.5rem;
gap: 0.5rem; gap: 0.5rem;
justify-content: center; justify-content: center;
// offset the main padding // offset the main padding
margin-left: auto;
margin-right: auto;
margin-top: -0.5rem; margin-top: -0.5rem;
padding-bottom: 0.5rem; padding: 0.5rem;
padding-top: 0.5rem; width: fit-content;
& > .btn-group { & > .btn-group {
flex-wrap: wrap; flex-wrap: wrap;
@ -941,6 +944,12 @@ input[type="range"].zoom-slider {
} }
} }
&.btn-toolbar {
position: sticky;
top: 49px;
z-index: 1000;
}
// set the width of the zoom-slider-container to prevent buttons moving when // set the width of the zoom-slider-container to prevent buttons moving when
// the slider appears/disappears // the slider appears/disappears
.zoom-slider-container { .zoom-slider-container {