Skip to content

Commit

Permalink
Tweak input widths again to fit editor sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Sep 27, 2022
1 parent d037344 commit bae2ddf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const BorderBoxControl = (
shouldSanitizeBorder={ false } // This component will handle that.
value={ linkedValue }
withSlider={ true }
width={ __next40pxDefaultSize ? '118px' : '110px' }
width={ __next40pxDefaultSize ? '116px' : '110px' }
__experimentalHasMultipleOrigins={
__experimentalHasMultipleOrigins
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Default.args = {
};

const WrapperView = styled.div`
max-width: 252px;
max-width: 248px;
padding: 16px;
`;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export function useBorderControl(

let wrapperWidth = width;
if ( isCompact ) {
wrapperWidth = __next40pxDefaultSize ? '118px' : '90px';
wrapperWidth = __next40pxDefaultSize ? '116px' : '90px';
}
const innerWrapperClassName = useMemo( () => {
const widthStyle = !! wrapperWidth && styles.wrapperWidth;
Expand Down

0 comments on commit bae2ddf

Please sign in to comment.