File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
material-experimental/mdc-button Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,9 @@ export const MAT_BUTTON_HOST = {
3535 // an unthemed version. If color is undefined, apply a CSS class that makes it easy to
3636 // select and style this "theme".
3737 '[class.mat-unthemed]' : '!color' ,
38+ // Add a class that applies to all buttons. This makes it easier to target if somebody
39+ // wants to target all Material buttons.
40+ '[class.mat-mdc-button-base]' : 'true' ,
3841} ;
3942
4043/** List of classes to add to buttons instances based on host attribute selector. */
Original file line number Diff line number Diff line change @@ -61,7 +61,8 @@ $mat-dialog-button-margin: 8px !default;
6161 justify-content : center ;
6262 }
6363
64- .mat-button-base + .mat-button-base {
64+ .mat-button-base + .mat-button-base ,
65+ .mat-mdc-button-base + .mat-mdc-button-base {
6566 margin-left : $mat-dialog-button-margin ;
6667
6768 [dir = ' rtl' ] & {
Original file line number Diff line number Diff line change 7272 justify-content : flex-end ;
7373 padding : 16px 8px 16px 24px ;
7474
75- button .mat-button-base {
75+ button .mat-button-base , button .mat-mdc-button-base {
7676 margin-left : 8px ;
7777
7878 [dir = ' rtl' ] & {
You can’t perform that action at this time.
0 commit comments