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

Commit

Permalink
fix(chips): prevents styling issues caused by extremely long text
Browse files Browse the repository at this point in the history
Closes #3523
  • Loading branch information
Robert Messerle committed Jul 16, 2015
1 parent cc8130c commit e9b4de5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/chips/chips.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,16 @@ $contact-chip-name-width: rem(12) !default;
margin: $chip-margin;
padding: $chip-padding;
float: left;
box-sizing: border-box;
max-width: 100%;
.md-chip-content {
display: block;
padding-right:rem(0.4);
float: left;
white-space: nowrap;
max-width: calc(100% - 31px);
overflow: hidden;
text-overflow: ellipsis;
&:focus {
outline: none;
}
Expand Down

0 comments on commit e9b4de5

Please sign in to comment.