Skip to content

Commit

Permalink
fix(formfield): Change cursor style on label to inherit rather than…
Browse files Browse the repository at this point in the history
… `auto` to adopt customization.

radio button labels are interactive elements that users can click to select an option. To enhance the user experience and maintain uniformity across the interface, developers may want to customize the cursor appearance when the mouse hovers over the label. By setting the cursor style to `inherit`, developers gain the flexibility to modify the cursor style as needed, ensuring a consistent and visually appealing user interface.

PiperOrigin-RevId: 630025696
  • Loading branch information
material-web-copybara authored and copybara-github committed May 2, 2024
1 parent 65c10a6 commit 4b35cb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/mdc-form-field/_form-field.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
@include rtl.reflexive-property(padding, variables.$item-spacing, 0);

order: 0;
cursor: inherit;
}
}
}
Expand Down

0 comments on commit 4b35cb7

Please sign in to comment.