File tree 2 files changed +7
-7
lines changed
material-experimental/mdc-button
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 9
9
The indicator can't be directly on the button, because MDC uses ::before for high contrast
10
10
indication and it can't be on the ripple, because it has a border radius and overflow: hidden.
11
11
-->
12
- < div class ="mat-mdc-focus-indicator "> </ div >
12
+ < span class ="mat-mdc-focus-indicator "> </ span >
13
13
14
14
< ng-content select =".material-icons[iconPositionEnd], mat-icon[iconPositionEnd] ">
15
15
</ ng-content >
Original file line number Diff line number Diff line change 1
1
< span class ="mat-button-wrapper "> < ng-content > </ ng-content > </ span >
2
- < div matRipple class ="mat-button-ripple "
3
- [class.mat-button-ripple-round] ="isRoundButton || isIconButton "
4
- [matRippleDisabled] ="_isRippleDisabled() "
5
- [matRippleCentered] ="isIconButton "
6
- [matRippleTrigger] ="_getHostElement() "> </ div >
7
- < div class ="mat-button-focus-overlay "> </ div >
2
+ < span matRipple class ="mat-button-ripple "
3
+ [class.mat-button-ripple-round] ="isRoundButton || isIconButton "
4
+ [matRippleDisabled] ="_isRippleDisabled() "
5
+ [matRippleCentered] ="isIconButton "
6
+ [matRippleTrigger] ="_getHostElement() "> </ span >
7
+ < span class ="mat-button-focus-overlay "> </ span >
You can’t perform that action at this time.
0 commit comments