File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/components/ProductTable Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ const PresetFilters = ({
46
46
< div
47
47
className = { `lg:pb-11 ${
48
48
showMobileSidebar
49
- ? "grid grid-cols-2 gap-2"
49
+ ? "grid grid-cols-2 gap-2 pb-5 "
50
50
: "grid auto-cols-[200px] grid-flow-col gap-4 overflow-x-auto px-4 lg:auto-cols-fr"
51
51
} `}
52
52
>
@@ -59,11 +59,12 @@ const PresetFilters = ({
59
59
>
60
60
< button
61
61
className = { cn (
62
- "duration-50 group flex h-full w-full cursor-pointer flex-col items-start rounded-2xl border p-3 shadow-svg-button-link transition-all hover:bg-background-highlight lg:p-6" ,
62
+ "duration-50 group flex h-[164px] w-full cursor-pointer flex-col items-start rounded-2xl border p-3 shadow-svg-button-link transition-all hover:bg-background-highlight lg:h-full lg:p-6" ,
63
63
"focus-visible:outline focus-visible:outline-4 focus-visible:-outline-offset-4 focus-visible:outline-primary-hover" ,
64
64
activePresets . includes ( idx )
65
65
? "border-primary"
66
- : "border-primary-low-contrast"
66
+ : "border-primary-low-contrast" ,
67
+ showMobileSidebar && "h-full"
67
68
) }
68
69
onClick = { ( ) => handleSelectPreset ( idx ) }
69
70
>
You can’t perform that action at this time.
0 commit comments