From 4b35cb7d05ac0abf313963370ee2f4b20456df45 Mon Sep 17 00:00:00 2001 From: Material Web Team Date: Thu, 2 May 2024 04:56:32 -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: 630025696 --- 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; } } }