File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
src/material-experimental/mdc-button Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 11
11
@include button-base .mat-private-button-touch-target (true);
12
12
@include private .private-animation-noop ();
13
13
14
+ // Prevent the button from shrinking since it's always supposed to be a circle.
15
+ flex-shrink : 0 ;
16
+
14
17
// MDC adds some styles to fab and mini-fab that conflict with some of our focus indicator
15
18
// styles and don't actually do anything. This undoes those conflicting styles.
16
19
& :not (.mdc-ripple-upgraded ):focus ::before {
Original file line number Diff line number Diff line change 15
15
// Border radius is inherited by ripple to know its shape. Set to 50% so the ripple is round.
16
16
border-radius : 50% ;
17
17
18
+ // Prevent the button from shrinking since it's always supposed to be a circle.
19
+ flex-shrink : 0 ;
20
+
18
21
@include button-base .mat-private-button-disabled ();
19
22
@include button-base .mat-private-button-touch-target (true);
20
23
@include private .private-animation-noop ();
You can’t perform that action at this time.
0 commit comments