summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaciej Malewski <maciej.malewski@nokia.com>2021-01-13 14:47:38 +0100
committerMaciej Malewski <maciej.malewski@nokia.com>2021-01-13 14:55:51 +0100
commit9fd77517c4b56b19b375772bd22ca435aee5c1dd (patch)
tree60229b17de46609667e743e5ad8475a4b2037444
parentb7015a8154af46dc6be7643256d95d961ab6c040 (diff)
Fix sdc-modal-type-error component.
For many pm_dictionary validation errors, component was not fully visible. It has been fixed, by edit css styles. Issue-ID: SDC-3390 Signed-off-by: Maciej Malewski <maciej.malewski@nokia.com> Change-Id: I388655ece619f6b327a2138b31ea4a1cd9bfa8ef
-rw-r--r--catalog-ui/src/assets/styles/override.less16
-rw-r--r--openecomp-ui/resources/scss/common/_layout.scss3
2 files changed, 11 insertions, 8 deletions
diff --git a/catalog-ui/src/assets/styles/override.less b/catalog-ui/src/assets/styles/override.less
index ae8fc4219e..f959559503 100644
--- a/catalog-ui/src/assets/styles/override.less
+++ b/catalog-ui/src/assets/styles/override.less
@@ -22,18 +22,18 @@
@sdcui_color_purple: #9063cd;
@sdcui_color_light-purple: #caa2dd;
-.sdc-modal .sdc-modal__wrapper .sdc-modal__header {
- height:auto;
-}
+
//override sdc-ui version 53 css, used by onboarding. This can be removed after we update past version 42
sdc-modal {
position: static !important;
-}
-
-.sdc-modal .sdc-modal__wrapper .sdc-modal__header {
- height: auto;
+ .sdc-modal__wrapper.sdc-modal-type-error {
+ align-self: baseline;
+ }
+ .sdc-modal__wrapper .sdc-modal__header {
+ height: auto;
+ }
}
.sdc-menu-list {
z-index: 9999999;
-} \ No newline at end of file
+}
diff --git a/openecomp-ui/resources/scss/common/_layout.scss b/openecomp-ui/resources/scss/common/_layout.scss
index 58ed1227ce..ec7d2a18f3 100644
--- a/openecomp-ui/resources/scss/common/_layout.scss
+++ b/openecomp-ui/resources/scss/common/_layout.scss
@@ -28,6 +28,9 @@
color: $blue;
}
.sdc-modal {
+ .sdc-modal__wrapper.sdc-modal-type-error {
+ align-self: baseline;
+ }
.sdc-modal__wrapper.sdc-modal-type-custom {
.sdc-modal__content {
padding: 0;