diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index 3881fea0860ffc..e6f130a034bfb6 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -12,6 +12,7 @@ ### Bug Fix +- `UnitControl`: Fix `disabled` style is overridden by core `form.css` style ([#45250](https://github.com/WordPress/gutenberg/pull/45250)). - `Button`: Fix RTL alignment for buttons containing an icon and text ([#44787](https://github.com/WordPress/gutenberg/pull/44787)). - `TabPanel`: Call `onSelect()` on every tab selection, regardless of whether it was triggered by user interaction ([#44028](https://github.com/WordPress/gutenberg/pull/44028)). - `FontSizePicker`: Fallback to font size `slug` if `name` is undefined ([#45041](https://github.com/WordPress/gutenberg/pull/45041)). diff --git a/packages/components/src/unit-control/styles/unit-control-styles.ts b/packages/components/src/unit-control/styles/unit-control-styles.ts index ba5952a5ba65d6..51532e6ea75c55 100644 --- a/packages/components/src/unit-control/styles/unit-control-styles.ts +++ b/packages/components/src/unit-control/styles/unit-control-styles.ts @@ -129,8 +129,8 @@ const unitSelectSizes = ( { selectSize = 'default' }: SelectProps ) => { }; export const UnitSelect = styled.select< SelectProps >` - // The && counteracts styles in WP forms.css + &&& { appearance: none; background: transparent; border-radius: 2px;