File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 2828 padding-inline-end : 0 ;
2929 }
3030
31- .trailing.icon {
31+ .trailing.icon , [ name = " trailing-icon " ]::slotted( * ) {
3232 color : var (--_trailing-icon-color );
3333 height : var (--_icon-size );
3434 width : var (--_icon-size );
3535 }
3636
37+ [name = " trailing-icon" ]::slotted(md-icon) {
38+ --md-icon-size : var (--_icon-size );
39+ }
40+
3741 :where(:hover ) .trailing.icon {
3842 color : var (--_hover-trailing-icon-color );
3943 }
Original file line number Diff line number Diff line change @@ -34,10 +34,12 @@ export function renderRemoveButton({
3434 @focus=${ focusListener } >
3535 < md-focus-ring part ="trailing-focus-ring "> </ md-focus-ring >
3636 < md-ripple ?disabled =${ disabled } > </ md-ripple >
37- < svg class ="trailing icon " viewBox ="0 96 960 960 " aria-hidden ="true ">
38- < path
39- d ="m249 849-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231-231 231Z " />
40- </ svg >
37+ < slot name ="trailing-icon ">
38+ < svg class ="trailing icon " viewBox ="0 96 960 960 " aria-hidden ="true ">
39+ < path
40+ d ="m249 849-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231-231 231Z " />
41+ </ svg >
42+ </ slot >
4143 < span class ="touch "> </ span >
4244 </ button >
4345 ` ;
You can’t perform that action at this time.
0 commit comments