Skip to content

Commit

Permalink
BorderBoxControl: Reduce gap value when unlinked (#67049)
Browse files Browse the repository at this point in the history
* BorderBoxControl: Reduce input field width when unlinked

* Update changelog

* 108px

* Reduce gap value

* Fix changelog entry

Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: tyxla <tyxla@git.wordpress.org>
Co-authored-by: jasmussen <joen@git.wordpress.org>
Co-authored-by: mirka <0mirka00@git.wordpress.org>
Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
  • Loading branch information
6 people authored Nov 29, 2024
1 parent 9ec5998 commit f189eab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
- `BoxControl`: Passive deprecate `onMouseOver`/`onMouseOut`. Pass to the `inputProps` prop instead ([#67332](https://github.com/WordPress/gutenberg/pull/67332)).
- `BoxControl`: Deprecate 36px default size ([#66704](https://github.com/WordPress/gutenberg/pull/66704)).

### Enhancements

- `BorderBoxControl`: Reduce gap value when unlinked ([#67049](https://github.com/WordPress/gutenberg/pull/67049)).

### Experimental

- `Menu`: throw when subcomponents are not rendered inside top level `Menu` ([#67411](https://github.com/WordPress/gutenberg/pull/67411)).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const BorderBoxControlSplitControls = (
const mergedRef = useMergeRefs( [ setPopoverAnchor, forwardedRef ] );

return (
<Grid { ...otherProps } ref={ mergedRef } gap={ 4 }>
<Grid { ...otherProps } ref={ mergedRef } gap={ 3 }>
<BorderBoxControlVisualizer value={ value } size={ size } />
<BorderControl
className={ centeredClassName }
Expand Down

0 comments on commit f189eab

Please sign in to comment.