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
+23
-6
No files matched your search
@@ -1,3 +1,18 @@
|
||||
.filters {
|
||||
overflow-x: auto;
|
||||
.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;
|
||||
}
|
||||
}
|
||||
@@ -64,11 +64,13 @@ export function TankSearchDialog({
|
||||
</Dialog.Header>
|
||||
|
||||
<Dialog.Body>
|
||||
<TankSearchBar locale={locale} onSelect={handleSelect} />
|
||||
<div className={styles.controls}>
|
||||
<TankSearchBar locale={locale} onSelect={handleSelect} />
|
||||
|
||||
<div className={styles.filters}>
|
||||
<ScrollerCurtains />
|
||||
<TankSearchFilters locale={locale} />
|
||||
<div className={styles.filters}>
|
||||
<ScrollerCurtains />
|
||||
<TankSearchFilters locale={locale} />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<TankSearchResults
|
||||
|
||||
Reference in new issue
Block a user