mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-04 23:32:54 +01:00
sticky filters
This commit is contained in:
2 files changed
+18
-1
No files matched your search
@@ -1,3 +1,18 @@
|
|||||||
.filters {
|
.controls {
|
||||||
|
position: sticky;
|
||||||
|
top: calc(-1 * var(--space-4));
|
||||||
|
z-index: 1;
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: var(--space-4);
|
||||||
|
|
||||||
|
margin-block: calc(-1 * var(--space-4));
|
||||||
|
padding-block: var(--space-4);
|
||||||
|
|
||||||
|
background-color: var(--gray-2);
|
||||||
|
|
||||||
|
.filters {
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -64,12 +64,14 @@ export function TankSearchDialog({
|
|||||||
</Dialog.Header>
|
</Dialog.Header>
|
||||||
|
|
||||||
<Dialog.Body>
|
<Dialog.Body>
|
||||||
|
<div className={styles.controls}>
|
||||||
<TankSearchBar locale={locale} onSelect={handleSelect} />
|
<TankSearchBar locale={locale} onSelect={handleSelect} />
|
||||||
|
|
||||||
<div className={styles.filters}>
|
<div className={styles.filters}>
|
||||||
<ScrollerCurtains />
|
<ScrollerCurtains />
|
||||||
<TankSearchFilters locale={locale} />
|
<TankSearchFilters locale={locale} />
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<TankSearchResults
|
<TankSearchResults
|
||||||
locale={locale}
|
locale={locale}
|
||||||
|
|||||||
Reference in new issue
Block a user