Prevent usercard badge section from overflowing
This commit is contained in:
parent
984f1d96b0
commit
1cacfddda4
|
@ -287,14 +287,15 @@ $user_card_background: $secondary;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
|
span {
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
max-width: 185px;
|
||||||
|
}
|
||||||
.user-badge {
|
.user-badge {
|
||||||
display: flex;
|
display: flex;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
margin-right: 0.5em;
|
margin-right: 0.5em;
|
||||||
max-width: 150px;
|
|
||||||
background: $primary-very-low;
|
background: $primary-very-low;
|
||||||
border: 1px solid $primary-low;
|
border: 1px solid $primary-low;
|
||||||
color: $user_card_primary;
|
color: $user_card_primary;
|
||||||
|
|
Loading…
Reference in New Issue