Skip to content

Commit

Permalink
Turn on 40px tall border controls in editors
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Sep 26, 2022
1 parent 9b6d5fe commit e843ae8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-editor/src/hooks/border-radius.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export function BorderRadiusEdit( props ) {
<BorderRadiusControl
values={ style?.border?.radius }
onChange={ onChange }
__next40pxDefaultSize={ true }
/>
);
}
Expand Down
1 change: 1 addition & 0 deletions packages/block-editor/src/hooks/border.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ export function BorderPanel( props ) {
value={ hydratedBorder }
__experimentalHasMultipleOrigins={ true }
__experimentalIsRenderedInSidebar={ true }
__next40pxDefaultSize={ true }
/>
</ToolsPanelItem>
) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ export default function BorderPanel( { name } ) {
value={ border }
__experimentalHasMultipleOrigins={ true }
__experimentalIsRenderedInSidebar={ true }
__next40pxDefaultSize={ true }
/>
</ToolsPanelItem>
) }
Expand Down

0 comments on commit e843ae8

Please sign in to comment.