Skip to content

Commit

Permalink
Prevent usercard badge section from overflowing
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomerobot committed Feb 7, 2019
1 parent 984f1d9 commit 1cacfdd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions app/assets/stylesheets/desktop/user-card.scss
Expand Up @@ -287,14 +287,15 @@ $user_card_background: $secondary;
align-items: flex-start;
padding-bottom: 10px;
margin-top: 5px;

span {
overflow: hidden;
text-overflow: ellipsis;
max-width: 185px;
}
.user-badge {
display: flex;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-right: 0.5em;
max-width: 150px;
background: $primary-very-low;
border: 1px solid $primary-low;
color: $user_card_primary;
Expand Down

1 comment on commit 1cacfdd

@awesomerobot
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another follow-up to 94f8c4e

Please sign in to comment.