Skip to content

Commit

Permalink
Update Gallery block to use consistent 40px components (#49101)
Browse files Browse the repository at this point in the history
* Update inputs to 40px

* Add __unstable-large to RangeControl

Even though it's not supported just yet; follow up PR.
  • Loading branch information
richtabor authored Mar 17, 2023
1 parent 43069d1 commit 9e1bc03
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/block-library/src/gallery/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,7 @@ function GalleryEdit( props ) {
max={ Math.min( MAX_COLUMNS, images.length ) }
{ ...MOBILE_CONTROL_PROPS_RANGE_CONTROL }
required
size="__unstable-large"
/>
) }
<ToggleControl
Expand All @@ -578,6 +579,7 @@ function GalleryEdit( props ) {
onChange={ setLinkTo }
options={ linkOptions }
hideCancelButton={ true }
size="__unstable-large"
/>
{ hasLinkTo && (
<ToggleControl
Expand All @@ -598,6 +600,7 @@ function GalleryEdit( props ) {
options={ imageSizeOptions }
onChange={ updateImagesSize }
hideCancelButton={ true }
size="__unstable-large"
/>
) }
{ Platform.isWeb && ! imageSizeOptions && hasImageIds && (
Expand Down

0 comments on commit 9e1bc03

Please sign in to comment.