We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8eb9f88 commit 6fe1d9aCopy full SHA for 6fe1d9a
src/lib/button/button.scss
@@ -7,9 +7,6 @@
7
.mat-button, .mat-icon-button {
8
@extend %mat-button-base;
9
10
- // Only flat button and icon buttons should inherit the color
11
- color: currentColor;
12
-
13
// Only flat buttons and icon buttons (not raised or fabs) have a hover style.
14
&:hover {
15
// Use the same visual treatment for hover as for focus.
@@ -58,6 +55,7 @@
58
55
59
56
// The text and icon should be vertical aligned inside a button
60
57
.mat-button, .mat-raised-button, .mat-icon-button {
+ color: currentColor;
61
.mat-button-wrapper > * {
62
vertical-align: middle;
63
}
0 commit comments