From b4dfa076f98895ebceee1f5bbbfbb7f62607e543 Mon Sep 17 00:00:00 2001 From: Sebastian Helzle Date: Wed, 8 Nov 2023 15:34:20 +0100 Subject: [PATCH] BUGFIX: Show full labels in nodetrees if possible MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously labels were cut even if there would have been enough space due to the constraint to 264px. Also since 8.3 the trees can be resized and the labels didn’t adjust to the increased width. Now they will use the available width. --- packages/react-ui-components/src/Tree/node.module.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-ui-components/src/Tree/node.module.css b/packages/react-ui-components/src/Tree/node.module.css index 1c2299216c..e91cda5b35 100644 --- a/packages/react-ui-components/src/Tree/node.module.css +++ b/packages/react-ui-components/src/Tree/node.module.css @@ -49,7 +49,7 @@ composes: reset from '../reset.module.css'; position: relative; display: inline-block; - min-width: 100%; + width: 100%; padding: .1em 0; border-left: 2px solid transparent; @@ -89,7 +89,7 @@ } .header__labelWrapper { - max-width: 264px; + max-width: 100%; overflow: hidden; text-overflow: ellipsis; display: inline-block;