Skip to content

Commit e900bd0

Browse files
authored
Merge pull request #15394 from IgniteUI/mpopov/igx-chip/add-sellipsis
fix(chip): Make sure that the suffix and prefix have ellipsis if they had longer text.
2 parents 4c6c23e + e6ef9f8 commit e900bd0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

projects/igniteui-angular/src/lib/core/styles/components/chip/_chip-theme.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,9 @@
698698

699699
%igx-chip__prefix,
700700
%igx-chip__suffix {
701-
display: inline-flex;
701+
@include ellipsis();
702+
703+
display: inline-block;
702704
vertical-align: middle;
703705
max-width: $chip-max-width;
704706

0 commit comments

Comments
 (0)