Skip to content

Commit 786b935

Browse files
committed
include anchor buttons
1 parent 300a91f commit 786b935

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/material-experimental/mdc-button/button-base.ts

+3
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ export const MAT_ANCHOR_HOST = {
150150
// an unthemed version. If color is undefined, apply a CSS class that makes it easy to
151151
// select and style this "theme".
152152
'[class.mat-unthemed]': '!color',
153+
// Add a class that applies to all buttons. This makes it easier to target if somebody
154+
// wants to target all Material buttons.
155+
'[class.mat-mdc-button-base]': 'true',
153156
};
154157

155158
/**

0 commit comments

Comments
 (0)