]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fix: correct select field wrapping with long text (#7572)
authorshamoon <4887959+shamoon@users.noreply.github.com>
Wed, 28 Aug 2024 23:39:14 +0000 (16:39 -0700)
committerGitHub <noreply@github.com>
Wed, 28 Aug 2024 23:39:14 +0000 (16:39 -0700)
src-ui/src/app/components/common/input/select/select.component.scss

index 31466423f574b5a8918e11d6c3ed8fbd28465fb8..4a6f6da6107b08e65e328cc8c9ab9db79e1e95a6 100644 (file)
     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
+}