Skip to content

Commit

Permalink
fix(components/chips): dots overflows chip list container #1713
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed May 28, 2024
1 parent 6b7d761 commit 08ca93b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export class PrizmInputMultiSelectBaseExampleComponent implements OnInit {
value = true;
readonly valueControl = new UntypedFormControl([]);
readonly items = [
'Very long text with a lot of characters and spaces',
'One',
'Two',
'Three',
Expand Down
6 changes: 6 additions & 0 deletions libs/components/src/lib/components/chips/chips.component.less
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,11 @@
height: 18px;
width: 100%;
}

&:has(.more-item) {
prizm-chips-item.single-line {
max-width: calc(100% - 20px);
}
}
}
}

0 comments on commit 08ca93b

Please sign in to comment.