Skip to content

Commit

Permalink
ColorPicker: fix layout overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Aug 4, 2022
1 parent 640856b commit 8815915
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/components/src/color-picker/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import InnerSelectControl from '../select-control';
import InnerRangeControl from '../range-control';
import { StyledField } from '../base-control/styles/base-control-styles';
import { space } from '../ui/utils/space';
import { boxSizingReset } from '../utils';
import Button from '../button';
import { Flex } from '../flex';
import { HStack } from '../h-stack';
Expand Down Expand Up @@ -58,6 +59,7 @@ export const AuxiliaryColorArtefactWrapper = styled.div`
`;

export const AuxiliaryColorArtefactHStackHeader = styled( HStack )`
${ boxSizingReset };
padding-left: ${ space( 4 ) };
padding-right: ${ space( 4 ) };
`;
Expand Down

0 comments on commit 8815915

Please sign in to comment.