Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Fix: correct select field wrapping with long text (#7572)

shamoonf5ec6de04747
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
+}