Skip to content

Commit 0b7c25d

Browse files
authored
refactor(button): enabled the disabled styling (#4686)
Even also enabled the disabled styling on an aria disabled button.
1 parent 7ba9e83 commit 0b7c25d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/components/src/components/button/button.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
}
107107
}
108108

109-
&:disabled {
109+
&:is(:disabled, [aria-disabled="true"]) {
110110
opacity: variables.$db-opacity-md;
111111
}
112112

0 commit comments

Comments
 (0)