From 5a488e91b16f6a73ba45b95977651ba042917f4e Mon Sep 17 00:00:00 2001 From: Material Web Team Date: Fri, 26 Apr 2024 05:17:55 -0700 Subject: [PATCH] fix(formfield): Change cursor style on label to `inherit` rather than `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: 628374018 --- packages/mdc-form-field/_form-field.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/mdc-form-field/_form-field.scss b/packages/mdc-form-field/_form-field.scss index d9d09f34787..194b1cd4f51 100644 --- a/packages/mdc-form-field/_form-field.scss +++ b/packages/mdc-form-field/_form-field.scss @@ -64,6 +64,7 @@ @include rtl.reflexive-property(padding, variables.$item-spacing, 0); order: 0; + cursor: inherit; } } }