From f5ec6de04747c8a6c163aa037ccc1f5b54e6e18b Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 28 Aug 2024 16:39:14 -0700 Subject: [PATCH] Fix: correct select field wrapping with long text (#7572) --- .../components/common/input/select/select.component.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src-ui/src/app/components/common/input/select/select.component.scss b/src-ui/src/app/components/common/input/select/select.component.scss index 31466423f..4a6f6da61 100644 --- a/src-ui/src/app/components/common/input/select/select.component.scss +++ b/src-ui/src/app/components/common/input/select/select.component.scss @@ -27,3 +27,11 @@ background-position: right calc(0.375em + 0.1875rem) center !important; background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important; } + +.input-group .ng-select-taggable:first-child:nth-last-child(2) { + max-width: calc(100% - 45px); // fudge factor for (1x) ng-select button width +} + +.input-group .ng-select-taggable:first-child:nth-last-child(3) { + max-width: calc(100% - 90px); // fudge factor for (2x) ng-select button width +}