Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit e9b4de5

Browse files
author
Robert Messerle
committed
fix(chips): prevents styling issues caused by extremely long text
Closes #3523
1 parent cc8130c commit e9b4de5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/components/chips/chips.scss

+5
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,16 @@ $contact-chip-name-width: rem(12) !default;
6565
margin: $chip-margin;
6666
padding: $chip-padding;
6767
float: left;
68+
box-sizing: border-box;
69+
max-width: 100%;
6870
.md-chip-content {
6971
display: block;
7072
padding-right:rem(0.4);
7173
float: left;
7274
white-space: nowrap;
75+
max-width: calc(100% - 31px);
76+
overflow: hidden;
77+
text-overflow: ellipsis;
7378
&:focus {
7479
outline: none;
7580
}

0 commit comments

Comments
 (0)