File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -547,15 +547,6 @@ $fallbacks: m3-chip.get-tokens();
547547.mat-mdc-standard-chip {
548548 -webkit-tap-highlight-color : transparent ;
549549
550- // MDC sets `overflow: hidden` on these elements in order to truncate the text. This is
551- // unnecessary since our chips don't truncate their text and it makes it difficult to style
552- // the strong focus indicators so we need to override it.
553- .mdc-evolution-chip__cell--primary ,
554- .mdc-evolution-chip__action--primary ,
555- .mat-mdc-chip-action-label {
556- overflow : visible ;
557- }
558-
559550 // MDC sizes and positions this element using `width`, `height` and `padding`.
560551 // This usually works, but it's common for apps to add `box-sizing: border-box`
561552 // to all elements on the page which can cause the graphic to be clipped.
Original file line number Diff line number Diff line change @@ -86,6 +86,14 @@ $default-border-radius: 4px;
8686 $config : map .merge ($default-config , $config );
8787
8888 @include _customize-focus-indicators ($config );
89+
90+ // MDC sets `overflow: hidden` on these elements in order to truncate the text. This conflicts
91+ // with how we structure and style the strong focus indicators so we need to override it.
92+ .mdc-evolution-chip__cell--primary ,
93+ .mdc-evolution-chip__action--primary ,
94+ .mat-mdc-chip-action-label {
95+ overflow : visible ;
96+ }
8997}
9098
9199@mixin strong-focus-indicators-color ($theme-or-color ) {
You can’t perform that action at this time.
0 commit comments