sticky search

This commit is contained in:
tresabhi committed 2026-12-03 21:58:18 -06:00
1 parent f7703b4ae5
commit b04946ed96
6 files changed
+86 -41

No files matched your search

@@ -0,0 +1,32 @@
.controls {
position: sticky;
z-index: 1;
display: flex;
flex-direction: column;
gap: var(--space-4);
margin-block: calc(-1 * var(--space-4));
padding-block: var(--space-4);
/* Bleeds across the page gutters so results don't peek out beside it */
&[data-surface="page"] {
top: var(--navbar-big-height, 0);
margin-inline: calc(-1 * var(--page-padding));
padding-inline: var(--page-padding);
background-color: var(--gray-1);
}
/* Cancels the overlay's padding, which sticky offsets are measured inside of */
&[data-surface="dialog"] {
top: calc(-1 * var(--space-4));
background-color: var(--gray-2);
}
.filters {
overflow-x: auto;
}
}