Skip to content

Commit

Permalink
style(colorpicker): update positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
ph1p committed Apr 26, 2020
1 parent 8b5cb82 commit 7381435
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/ColorPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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%;
Expand All @@ -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 {
Expand Down

0 comments on commit 7381435

Please sign in to comment.