Skip to content

Commit

Permalink
Add a little breathing space around slider
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Feb 3, 2022
1 parent 63c6812 commit f0506b9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const BorderBoxControl = (
label={ label }
hideLabelFromVision={ hideLabelFromVision }
/>
<HStack alignment={ 'start' } expanded={ true } spacing={ 3 }>
<HStack alignment={ 'start' } expanded={ true } spacing={ 0 }>
{ isLinked ? (
<BorderControl
className={ linkedControlClassName }
Expand Down
1 change: 1 addition & 0 deletions packages/components/src/border-box-control/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export const SplitBorderControl = css`
position: relative;
gap: ${ space( 4 ) };
flex: 1;
margin-right: ${ space( 3 ) };
`;

export const CenteredBorderControl = css`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const BorderControl = (
label={ label }
hideLabelFromVision={ hideLabelFromVision }
/>
<HStack spacing={ 2 }>
<HStack spacing={ 3 }>
<HStack className={ innerWrapperClassName } style={ { width } }>
<BorderDropdown
border={ border }
Expand Down
1 change: 1 addition & 0 deletions packages/components/src/border-control/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ export const BorderStyleButton = css`

export const BorderSlider = css`
flex: 1 1 60%;
margin-right: ${ space( 3 ) };
> div {
margin-bottom: 0;
Expand Down

0 comments on commit f0506b9

Please sign in to comment.