Skip to content

Commit

Permalink
fix(Label): missing text-overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladeeg committed Dec 15, 2023
1 parent 67ba981 commit c479d7a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/components/Label/Label.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,28 @@ $hover-opacity: 0.7;
font-size: var(--g-text-body-1-font-size);
text-align: center;
white-space: nowrap;
overflow: hidden;
}

&__content,
&__key {
text-overflow: ellipsis;
overflow: hidden;
}

&__content,
&__key,
&__separator,
&__value {
vertical-align: top;

display: inline-block;
}

&__value {
display: flex;
opacity: $hover-opacity;
overflow: hidden;
}

&__separator {
Expand Down

0 comments on commit c479d7a

Please sign in to comment.