Skip to content

Commit

Permalink
fix: Show pointer cursor for radio and toggles (#49998)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarayourfriend authored Feb 11, 2021
1 parent b8a829c commit ef9f8ac
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions client/assets/stylesheets/_wp-components-overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
background-color: var( --color-primary );
}

.components-form-toggle {
input[type='checkbox'] {
cursor: pointer;

}
}

/* @wordpress/components Button overrides */
.components-button {
&,
Expand Down Expand Up @@ -88,6 +95,7 @@
.components-radio-control {
&__input[type='radio'] {
padding: 6px;
cursor: pointer;

&:checked {
border-color: var( --color-accent );
Expand Down

0 comments on commit ef9f8ac

Please sign in to comment.