From 1c0df60f0508322195bf0c20315d38a554d33a53 Mon Sep 17 00:00:00 2001 From: Charles Hacskaylo Date: Fri, 26 Apr 2019 14:43:13 -0700 Subject: [PATCH] Misc Fixes 3 (#2389) * Misc Fixes 3 - Fix Chrome 73 bug in overlay __contents-main element; - Fixed messages by including erroneously missing _legacy-messages.scss file; - Better layout for messages in notification overlay list; * Misc Fixes 3 - Fix about screen for better compatibility with VISTA; - Better logo sizing in splash element; --- .../res/templates/notification-message.html | 16 ++++----- .../overlays/components/OverlayComponent.vue | 1 + src/styles-new/_about.scss | 23 +++++++++---- src/styles-new/core.scss | 1 + src/ui/layout/AboutDialog.vue | 33 ++++++++++--------- 5 files changed, 43 insertions(+), 31 deletions(-) diff --git a/platform/commonUI/dialog/res/templates/notification-message.html b/platform/commonUI/dialog/res/templates/notification-message.html index 52ba7ecc8c..8fabb81081 100644 --- a/platform/commonUI/dialog/res/templates/notification-message.html +++ b/platform/commonUI/dialog/res/templates/notification-message.html @@ -9,17 +9,17 @@ ng-model="ngModel" ng-show="ngModel.progressPerc !== undefined"> -
- - -
+ {{ngModel.primaryOption.label}} + diff --git a/src/api/overlays/components/OverlayComponent.vue b/src/api/overlays/components/OverlayComponent.vue index da8b385483..021506d19f 100644 --- a/src/api/overlays/components/OverlayComponent.vue +++ b/src/api/overlays/components/OverlayComponent.vue @@ -92,6 +92,7 @@ display: flex; flex-direction: column; flex: 1 1 auto; + height: 0; // Chrome 73 overflow bug fix overflow: auto; padding-right: $interiorMargin; // fend off scroll bar } diff --git a/src/styles-new/_about.scss b/src/styles-new/_about.scss index df7fbb48b7..2f8eeecbf9 100644 --- a/src/styles-new/_about.scss +++ b/src/styles-new/_about.scss @@ -54,10 +54,11 @@ &:after { // App logo - top: 0; - right: 15%; - bottom: 0; - left: 15%; + $d: 25%; + top: $d; + right: $d; + bottom: $d; + left: $d; } } @@ -75,12 +76,20 @@ &__image, &__text { - height: 50%; - flex: 1 1 0; + flex: 1 1 auto; + } + + &__image { + height: 35%; } &__text { + height: 65%; overflow: auto; + > * + * { + border-top: 1px solid $colorInteriorBorder; + margin-top: 1em; + } } &--licenses { @@ -107,7 +116,7 @@ h1, h2, h3 { font-weight: normal; - margin-bottom: 1em; + margin-bottom: .25em; } h1 { diff --git a/src/styles-new/core.scss b/src/styles-new/core.scss index a07cf588c8..f90f3f46b7 100644 --- a/src/styles-new/core.scss +++ b/src/styles-new/core.scss @@ -33,3 +33,4 @@ @import "table"; @import "legacy"; @import "legacy-plots"; +@import "legacy-messages"; diff --git a/src/ui/layout/AboutDialog.vue b/src/ui/layout/AboutDialog.vue index fc235669b9..e1514a97ee 100644 --- a/src/ui/layout/AboutDialog.vue +++ b/src/ui/layout/AboutDialog.vue @@ -1,23 +1,24 @@