From 201639e107d8fae525f27a9fb1550f5173db84f6 Mon Sep 17 00:00:00 2001 From: Elliott Marquez Date: Tue, 17 Oct 2023 15:11:08 -0700 Subject: [PATCH] fix(checkbox): cursor should be pointer when not disabled fixes #5079 PiperOrigin-RevId: 574277871 --- checkbox/internal/_checkbox.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/checkbox/internal/_checkbox.scss b/checkbox/internal/_checkbox.scss index 3549c8da26d..347fc301e4a 100644 --- a/checkbox/internal/_checkbox.scss +++ b/checkbox/internal/_checkbox.scss @@ -104,6 +104,7 @@ $_checkmark-bottom-left: 7px, -14px; position: absolute; width: 48px; z-index: 1; + cursor: pointer; } :host([touch-target='none']) input { @@ -373,6 +374,10 @@ $_checkmark-bottom-left: 7px, -14px; opacity: var(--_disabled-container-opacity); } + .disabled input { + cursor: default; + } + :where(.selected.disabled) .outline { // Hide the outline behind the transparent selected container color. // This can be removed once disabled colors are flattened.