Skip to content

Commit

Permalink
ImageSizeControl: Use large 40px sizes (#49113)
Browse files Browse the repository at this point in the history
* Add size="__unstable-large"

* Remove unused size

* Update CHANGELOG.md
  • Loading branch information
richtabor authored Mar 20, 2023
1 parent 77bb6c8 commit e9c4f73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export default function ImageSizeControl( {
options={ imageSizeOptions }
onChange={ onChangeImage }
help={ imageSizeHelp }
size="__unstable-large"
/>
) }
{ isResizable && (
Expand All @@ -58,6 +59,7 @@ export default function ImageSizeControl( {
onChange={ ( value ) =>
updateDimension( 'width', value )
}
size="__unstable-large"
/>
<NumberControl
className="block-editor-image-size-control__height"
Expand All @@ -67,6 +69,7 @@ export default function ImageSizeControl( {
onChange={ ( value ) =>
updateDimension( 'height', value )
}
size="__unstable-large"
/>
</HStack>
<HStack>
Expand Down
1 change: 1 addition & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

- `CustomGradientPicker`: improve initial state UI ([#49146](https://github.com/WordPress/gutenberg/pull/49146)).
- `AnglePickerControl`: Style to better fit in narrow contexts and improve RTL layout ([#49046](https://github.com/WordPress/gutenberg/pull/49046)).
- `ImageSizeControl`: Use large 40px sizes ([#49113](https://github.com/WordPress/gutenberg/pull/49113)).

### Bug Fix

Expand Down

0 comments on commit e9c4f73

Please sign in to comment.