diff --git a/docs/pages/components/radio.md b/docs/pages/components/radio.md index f73c4e70..4802c760 100644 --- a/docs/pages/components/radio.md +++ b/docs/pages/components/radio.md @@ -172,7 +172,7 @@ Add the `contained` attribute to the [Radio Group](/components/radio-group) to d ```html:preview - Issue shares + Issue shares Employee buyback Cancel a certificate
Declares certificate to be null and void
diff --git a/src/components/checkbox/checkbox.styles.ts b/src/components/checkbox/checkbox.styles.ts index 1c12b776..d24646cf 100644 --- a/src/components/checkbox/checkbox.styles.ts +++ b/src/components/checkbox/checkbox.styles.ts @@ -169,8 +169,8 @@ export default css` height: 100%; } - .checkbox--contained:hover, - .checkbox--contained.checkbox--checked:hover { + :not(.checkbox--disabled).checkbox--contained:hover, + :not(.checkbox--disabled).checkbox--contained.checkbox--checked:hover { background-color: var(--sl-color-blue-50); transition: var(--sl-transition-medium) all; } diff --git a/src/components/radio/radio.styles.ts b/src/components/radio/radio.styles.ts index 01f65a5e..03dd6159 100644 --- a/src/components/radio/radio.styles.ts +++ b/src/components/radio/radio.styles.ts @@ -134,8 +134,8 @@ export default css` height: 100%; } - .radio--contained:hover, - .radio--contained.radio--checked:hover { + :not(.radio--disabled).radio--contained:hover, + :not(.radio--disabled).radio--contained.radio--checked:hover { background-color: var(--sl-color-blue-50); transition: var(--sl-transition-medium) all; }