File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7474 background-color : token-utils .slot ($ripple-color-token , $fallbacks );
7575 }
7676
77- .mat-mdc-button-persistent-ripple ::before {
77+ & > .mat-mdc-button-persistent-ripple ::before {
7878 background-color : token-utils .slot ($state-layer-color-token , $fallbacks );
7979 }
8080
81- & .mat-mdc-button-disabled .mat-mdc-button-persistent-ripple ::before {
81+ & .mat-mdc-button-disabled > .mat-mdc-button-persistent-ripple ::before {
8282 background-color : token-utils .slot ($disabled-state-layer-color-token , $fallbacks );
8383 }
8484
124124 $touch-target-size-token ,
125125 $touch-target-display-token ,
126126 $fallbacks ) {
127- .mat-mdc-button-touch-target {
127+ & > .mat-mdc-button-touch-target {
128128 position : absolute ;
129129 top : 50% ;
130130 height : token-utils .slot ($touch-target-size-token , $fallbacks );
170170 }
171171 }
172172
173- .mdc-button__label + .mat-icon {
173+ & > .mdc-button__label + .mat-icon {
174174 margin-right : $icon-offset ;
175175 margin-left : $icon-spacing ;
176176
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ $fallbacks: m3-button.get-tokens();
7878 text-transform : token-utils .slot (button-text-label-text-transform , $fallbacks );
7979 font-weight : token-utils .slot (button-text-label-text-weight , $fallbacks );
8080
81- & , .mdc-button__ripple {
81+ & , & > .mdc-button__ripple {
8282 border-radius : token-utils .slot (button-text-container-shape , $fallbacks );
8383 }
8484
You can’t perform that action at this time.
0 commit comments