From 62d255a6ef80d6a8b0fbb3c0b6e8aae55f03c3bf Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 26 Feb 2025 17:59:08 +0000 Subject: [PATCH] fix EmptyButton text line-height (#1490) * fix EmptyButton text line-height Removed `line-height: inherit` introduced by #1342 and use `display: flex` to fix the original issue. With this commit, it also fixed the issue described in #1486 Signed-off-by: Yulong Ruan * update CHANGELOG Signed-off-by: Yulong Ruan --------- Signed-off-by: Yulong Ruan (cherry picked from commit 03889629e54ffa0de05f3e58d1111c21397d9f04) Signed-off-by: github-actions[bot] # Conflicts: # CHANGELOG.md --- src/components/button/button_empty/_button_empty.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/button/button_empty/_button_empty.scss b/src/components/button/button_empty/_button_empty.scss index a09c4566c..5c1c0ec75 100644 --- a/src/components/button/button_empty/_button_empty.scss +++ b/src/components/button/button_empty/_button_empty.scss @@ -25,13 +25,13 @@ animation: none !important; /* 1 */ transition-timing-function: ease-in; /* 2 */ transition-duration: $ouiAnimSpeedFast; /* 2 */ - line-height: inherit; .ouiButtonEmpty__content { padding: 0 $ouiSizeS; } .ouiButtonEmpty__text { + display: flex; text-overflow: ellipsis; overflow: hidden; }