Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 4b35cb7

Browse files
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
1 parent 65c10a6 commit 4b35cb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/mdc-form-field/_form-field.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
@include rtl.reflexive-property(padding, variables.$item-spacing, 0);
6565

6666
order: 0;
67+
cursor: inherit;
6768
}
6869
}
6970
}

0 commit comments

Comments
 (0)