From 738143588af37f2acc3f8418e897697b7f0059a9 Mon Sep 17 00:00:00 2001 From: ph1p Date: Sun, 26 Apr 2020 15:22:23 +0200 Subject: [PATCH] style(colorpicker): update positioning --- src/components/ColorPicker.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/ColorPicker.tsx b/src/components/ColorPicker.tsx index fc48738..16cfec6 100644 --- a/src/components/ColorPicker.tsx +++ b/src/components/ColorPicker.tsx @@ -74,12 +74,12 @@ const Picker = styled.div` pointer-events: ${({ isOpen }) => (isOpen ? 'all' : 'none')}; opacity: ${({ isOpen }) => (isOpen ? 1 : 0)}; background-color: #000; - left: -240px; + left: -211px; top: -51px; border-radius: 8px; display: flex; padding: 10px; - width: 265px; + width: 235px; justify-content: space-between; &::after { top: 100%; @@ -97,8 +97,8 @@ const Picker = styled.div` } .color { position: relative; - width: 18px; - height: 18px; + width: 16px; + height: 16px; border-radius: 100%; cursor: pointer; &:hover::after {