Skip to content

Commit 4346134

Browse files
committed
refactor(material/chips): replace px with _trailing-icon-size variable
Updates previous Angular Components Chip component fix and makes it adaptable by swapping the hard-coded 18px offset to equal the variable for -icon-size.
1 parent 123d086 commit 4346134

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/chips/chip.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ $_avatar-trailing-padding: 8px;
695695

696696
// Used as a state overlay.
697697
&::after {
698-
$offset: 18px; // size of the remove icon
698+
$offset: $_trailing-icon-size; // size of the remove icon
699699
content: '';
700700
display: block;
701701
opacity: 0;

0 commit comments

Comments
 (0)