Skip to content

Commit d12cd32

Browse files
committed
apply suggested changes
1 parent a0e40b4 commit d12cd32

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/components/ProductTable/PresetFilters.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const PresetFilters = ({
4646
<div
4747
className={`lg:pb-11 ${
4848
showMobileSidebar
49-
? "grid grid-cols-2 gap-2"
49+
? "grid grid-cols-2 gap-2 pb-5"
5050
: "grid auto-cols-[200px] grid-flow-col gap-4 overflow-x-auto px-4 lg:auto-cols-fr"
5151
}`}
5252
>
@@ -59,11 +59,12 @@ const PresetFilters = ({
5959
>
6060
<button
6161
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",
6363
"focus-visible:outline focus-visible:outline-4 focus-visible:-outline-offset-4 focus-visible:outline-primary-hover",
6464
activePresets.includes(idx)
6565
? "border-primary"
66-
: "border-primary-low-contrast"
66+
: "border-primary-low-contrast",
67+
showMobileSidebar && "h-full"
6768
)}
6869
onClick={() => handleSelectPreset(idx)}
6970
>

0 commit comments

Comments
 (0)