From c479d7a14f0105ef2775b36c3669bcb39e4b86ef Mon Sep 17 00:00:00 2001 From: vladoseeg Date: Fri, 15 Dec 2023 15:58:46 +0300 Subject: [PATCH] fix(Label): missing text-overflow --- src/components/Label/Label.scss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/components/Label/Label.scss b/src/components/Label/Label.scss index b44a5ece2c..71b17b99c5 100644 --- a/src/components/Label/Label.scss +++ b/src/components/Label/Label.scss @@ -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 {