File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed
src/material/core/focus-indicators Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -87,13 +87,7 @@ $default-border-radius: 4px;
87
87
88
88
@include _customize-focus-indicators ($config );
89
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
- }
90
+ @include _chip-label-overflow-visible ();
97
91
}
98
92
99
93
@mixin strong-focus-indicators-color ($theme-or-color ) {
@@ -116,3 +110,13 @@ $default-border-radius: 4px;
116
110
}
117
111
}
118
112
}
113
+
114
+ @mixin _chip-label-overflow-visible {
115
+ // MDC sets `overflow: hidden` on these elements in order to truncate the text. This conflicts
116
+ // with how we structure and style the strong focus indicators so we need to override it.
117
+ .mdc-evolution-chip__cell--primary ,
118
+ .mdc-evolution-chip__action--primary ,
119
+ .mat-mdc-chip-action-label {
120
+ overflow : visible ;
121
+ }
122
+ }
You can’t perform that action at this time.
0 commit comments