From 7779987118a6c88091ad378eeee24b96f0c2c037 Mon Sep 17 00:00:00 2001 From: Elliott Marquez Date: Tue, 17 Oct 2023 21:36:04 -0700 Subject: [PATCH] fix(radio): cursor should be pointer except when disabled PiperOrigin-RevId: 574353198 --- radio/internal/_radio.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/radio/internal/_radio.scss b/radio/internal/_radio.scss index ada6deea9c..2e73da2de2 100644 --- a/radio/internal/_radio.scss +++ b/radio/internal/_radio.scss @@ -56,6 +56,11 @@ $_md-sys-motion: tokens.md-sys-motion-values(); width: var(--_icon-size); // Remove highlight color for mobile Safari -webkit-tap-highlight-color: transparent; + cursor: pointer; + } + + :host([disabled]) { + cursor: default; } :host([touch-target='wrapper']) { @@ -94,6 +99,7 @@ $_md-sys-motion: tokens.md-sys-motion-values(); margin: 0; position: absolute; width: 48px; + cursor: inherit; } :host([touch-target='none']) input {