Skip to content

Commit

Permalink
ColorPicker: Remove adhoc height
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Nov 1, 2021
1 parent 54b3920 commit 0608091
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/components/src/color-picker/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,6 @@ export const RangeControl = styled( InnerRangeControl )`
}
`;

// All inputs should be the same height so this should be changed at the component level.
// That involves changing heights of multiple input types probably buttons too etc.
// So until that is done we are already using the new height on the color picker so it matches the mockups.
const inputHeightStyle = `
&&& ${ Input } {
height: 40px;
}`;

// Make the Hue circle picker not go out of the bar
const interactiveHueStyles = `
.react-colorful__interactive {
Expand Down Expand Up @@ -107,8 +99,6 @@ export const ColorfulWrapper = styled.div`
${ StyledField } {
margin-bottom: 0;
}
${ inputHeightStyle }
`;

export const DetailsControlButton = styled( Button )`
Expand Down

0 comments on commit 0608091

Please sign in to comment.