Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit ce2f28d

Browse files
devversionThomasBurleson
authored andcommitted
fix(button): set color of disabled button to highest css priority.
Normally a disabled button in the toolbar won't get the disabled button style, because the theme style is injected after the default style Fixes #5569. Closes #5574.
1 parent 6887665 commit ce2f28d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/button/button-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ a.md-button.md-THEME_NAME-theme,
141141
&.md-fab[disabled],
142142
&.md-accent[disabled],
143143
&.md-warn[disabled] {
144-
color: '{{foreground-3}}';
144+
color: '{{foreground-3}}' !important;
145145
cursor: not-allowed;
146146

147147
md-icon {

0 commit comments

Comments
 (0)