From 417c9be2ab733b228818f214549034090af5bbe9 Mon Sep 17 00:00:00 2001 From: i350970 Date: Thu, 1 Apr 2021 12:25:21 +0300 Subject: [PATCH] fix(ui5-li-tree): fixed incorrect tree items alignment When there was ellipsis of the text of the tree items, the ones which got truncated were misaligned with the ones which weren't. Now they are correctly aligned. Fixes: #3069 --- packages/main/src/themes/TreeListItem.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/main/src/themes/TreeListItem.css b/packages/main/src/themes/TreeListItem.css index 4ed2bc3e0889..b5089ab7654c 100644 --- a/packages/main/src/themes/TreeListItem.css +++ b/packages/main/src/themes/TreeListItem.css @@ -68,8 +68,8 @@ } .ui5-li-tree-toggle-box { - width: var(--_ui5-tree-toggle-box-width); - height: var(--_ui5-tree-toggle-box-height); + min-width: var(--_ui5-tree-toggle-box-width); + min-height: var(--_ui5-tree-toggle-box-height); display: flex; align-items: center; justify-content: center;