From 26b1431c31a0c2a526324e26364279efa2213b58 Mon Sep 17 00:00:00 2001 From: nathan Date: Mon, 9 Sep 2024 09:46:43 -0600 Subject: [PATCH] Et2TreeDropdown: Ellipsis on tags --- api/js/etemplate/Et2Tree/Et2TreeDropdown.styles.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/api/js/etemplate/Et2Tree/Et2TreeDropdown.styles.ts b/api/js/etemplate/Et2Tree/Et2TreeDropdown.styles.ts index 908fc732b6..00964423ed 100644 --- a/api/js/etemplate/Et2Tree/Et2TreeDropdown.styles.ts +++ b/api/js/etemplate/Et2Tree/Et2TreeDropdown.styles.ts @@ -114,12 +114,14 @@ export default css` padding-top: var(--sl-spacing-3x-small); max-height: calc(var(--height, 5) * var(--sl-input-height-medium)); min-width: 0px; + } - // Limit tag size + /* Limit tag size */ - & > * { - max-width: 25em; - } + .tree_tag { + color: green; + max-width: 25em; + overflow: hidden; } /* End tags */