Skip to content

Commit ee2c03f

Browse files
committed
refactor(chip): Make sure that the suffix and prefix have ellipsis if they had longer text.
1 parent 9d3dadb commit ee2c03f

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
@@ -700,7 +700,9 @@
700700

701701
%igx-chip__prefix,
702702
%igx-chip__suffix {
703-
display: inline-flex;
703+
@include ellipsis();
704+
705+
display: inline-block;
704706
vertical-align: middle;
705707
max-width: $chip-max-width;
706708

0 commit comments

Comments
 (0)