From b5691cfbc896733909a1726d8b6f687b60b8c564 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 2 Sep 2024 15:42:15 -0700 Subject: [PATCH] layout, styling, nesting fixes --- src-ui/src/app/app.module.ts | 4 ++++ ...ustom-fields-query-dropdown.component.html | 23 +++++++++---------- ...ustom-fields-query-dropdown.component.scss | 8 ++++--- 3 files changed, 20 insertions(+), 15 deletions(-) diff --git a/src-ui/src/app/app.module.ts b/src-ui/src/app/app.module.ts index 737d1f9cf..93c458ae0 100644 --- a/src-ui/src/app/app.module.ts +++ b/src-ui/src/app/app.module.ts @@ -142,6 +142,7 @@ import { arrowRightShort, arrowUpRight, asterisk, + braces, bodyText, boxArrowUp, boxArrowUpRight, @@ -199,6 +200,7 @@ import { link, listTask, listUl, + nodePlus, pencil, people, peopleFill, @@ -244,6 +246,7 @@ const icons = { arrowRightShort, arrowUpRight, asterisk, + braces, bodyText, boxArrowUp, boxArrowUpRight, @@ -301,6 +304,7 @@ const icons = { link, listTask, listUl, + nodePlus, pencil, people, peopleFill, diff --git a/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.html b/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.html index 5c3b4e415..ef63881b9 100644 --- a/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.html +++ b/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.html @@ -9,10 +9,10 @@ @@ -38,7 +35,6 @@
@switch (query.operator) { @case ('exists') { - } @default { - + } } +
-
+
@@ -81,11 +80,11 @@ } } -
}
+
diff --git a/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.scss b/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.scss index 7f49cb1e2..cb90fbcad 100644 --- a/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.scss +++ b/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.scss @@ -1,5 +1,5 @@ .dropdown-menu { - width: 500px; + width: 450px; } ::ng-deep .ng-select-container { @@ -7,6 +7,8 @@ border-bottom-right-radius: 0 !important; } -.w-40 { - width: 40%; +::ng-deep .ng-select { + max-width: 100px; + min-width: 35%; + font-size: 14px; }