Skip to content

Commit

Permalink
SelectControl: Fix hover/focus color in wp-admin (#63855)
Browse files Browse the repository at this point in the history
* SelectControl: Fix hover/focus color in wp-admin

* Add changelog

* Update snapshot test

Co-authored-by: mirka <0mirka00@git.wordpress.org>
Co-authored-by: tyxla <tyxla@git.wordpress.org>
Co-authored-by: ciampo <mciampini@git.wordpress.org>
Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
  • Loading branch information
5 people authored Jul 23, 2024
1 parent 626816a commit 40140e4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
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 @@

- `ComboboxControl`: Fix ComboboxControl reset button when using the keyboard. ([#63410](https://github.com/WordPress/gutenberg/pull/63410))
- `Button`: Never apply `aria-disabled` to anchor ([#63376](https://github.com/WordPress/gutenberg/pull/63376)).
- `SelectControl`: Fix hover/focus color in wp-admin ([#63855](https://github.com/WordPress/gutenberg/pull/63855)).

### Enhancements

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ exports[`DimensionControl rendering renders with custom sizes 1`] = `
box-sizing: border-box;
border: none;
box-shadow: none!important;
color: currentColor;
cursor: inherit;
display: block;
font-family: inherit;
Expand Down Expand Up @@ -405,6 +406,7 @@ exports[`DimensionControl rendering renders with defaults 1`] = `
box-sizing: border-box;
border: none;
box-shadow: none!important;
color: currentColor;
cursor: inherit;
display: block;
font-family: inherit;
Expand Down Expand Up @@ -700,6 +702,7 @@ exports[`DimensionControl rendering renders with icon and custom icon label 1`]
box-sizing: border-box;
border: none;
box-shadow: none!important;
color: currentColor;
cursor: inherit;
display: block;
font-family: inherit;
Expand Down Expand Up @@ -1007,6 +1010,7 @@ exports[`DimensionControl rendering renders with icon and default icon label 1`]
box-sizing: border-box;
border: none;
box-shadow: none!important;
color: currentColor;
cursor: inherit;
display: block;
font-family: inherit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ export const Select = styled.select< SelectProps >`
box-sizing: border-box;
border: none;
box-shadow: none !important;
color: currentColor; // Overrides hover/focus styles in forms.css
cursor: inherit;
display: block;
font-family: inherit;
Expand Down

0 comments on commit 40140e4

Please sign in to comment.