From f0fccac355333101c23131e066674a957608f50e Mon Sep 17 00:00:00 2001 From: nizune <9-nizune@users.noreply.gitlab.insrt.uk> Date: Thu, 8 Jul 2021 15:03:41 +0200 Subject: [PATCH] Update: Fixed color swatch on mobile --- src/components/ui/ColourSwatches.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/ui/ColourSwatches.tsx b/src/components/ui/ColourSwatches.tsx index ffc72b84..b34c914e 100644 --- a/src/components/ui/ColourSwatches.tsx +++ b/src/components/ui/ColourSwatches.tsx @@ -42,6 +42,8 @@ const SwatchesBase = styled.div` height: 0; top: 72px; opacity: 0; + padding: 0; + border: 0; position: relative; pointer-events: none; } @@ -97,6 +99,7 @@ const Rows = styled.div` display: flex; flex-direction: column; overflow: auto; + padding-bottom: 4px; > div { gap: 8px;