fix(app): closed filters panel has no height; e2e asserts it at 375 px
This commit is contained in:
1 parent
ca701787ce
commit
a50796b89f
2 files changed
+14
-6
No files matched your search
@@ -376,9 +376,12 @@ function Filters(props: ResultsProps) {
|
||||
data-open={view.open}
|
||||
className={`${PANEL} ${state}`}
|
||||
>
|
||||
<div className="-m-1 min-h-0 overflow-hidden p-1 max-sm:pt-4 sm:overflow-visible">
|
||||
<FilterGrid {...props} />
|
||||
<ResetFilters view={view} />
|
||||
<div className="-m-1 min-h-0 overflow-hidden p-1 sm:overflow-visible">
|
||||
{/* the top spacing is content: a closed 0fr row clips it, padding would stay */}
|
||||
<div className="max-sm:pt-3">
|
||||
<FilterGrid {...props} />
|
||||
<ResetFilters view={view} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user