From 21a6ed6be79c8a17e5650526491557927e5cd783 Mon Sep 17 00:00:00 2001 From: Artem Babak Date: Mon, 26 Sep 2022 15:57:41 +0300 Subject: [PATCH] Data key config style update - Settings tab. Aggregation section: fixed mat-expansion-panel height --- .../widget/data-key-config.component.html | 14 +++++++------- .../widget/data-key-config.component.scss | 8 +++++++- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/widget/data-key-config.component.html b/ui-ngx/src/app/modules/home/components/widget/data-key-config.component.html index a36cab05ff..1ca6b131b0 100644 --- a/ui-ngx/src/app/modules/home/components/widget/data-key-config.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/data-key-config.component.html @@ -63,20 +63,20 @@
- + datakey.aggregation {{ aggregationTypesTranslations.get(aggregationTypes[aggregation]) | translate }} - - {{ dataKeyFormGroup.get('aggregationType').value ? (dataKeyAggregationTypeHintTranslations.get(aggregationTypes[dataKeyFormGroup.get('aggregationType').value]) | translate) : '' }} -
- {{ 'datakey.aggregation-type-hint-common' | translate }} -
-
+
+ {{ dataKeyFormGroup.get('aggregationType').value ? (dataKeyAggregationTypeHintTranslations.get(aggregationTypes[dataKeyFormGroup.get('aggregationType').value]) | translate) : '' }} +
+ {{ 'datakey.aggregation-type-hint-common' | translate }} +
+
datakey.delta-calculation diff --git a/ui-ngx/src/app/modules/home/components/widget/data-key-config.component.scss b/ui-ngx/src/app/modules/home/components/widget/data-key-config.component.scss index 77f1e3a2b3..c4ea8019d6 100644 --- a/ui-ngx/src/app/modules/home/components/widget/data-key-config.component.scss +++ b/ui-ngx/src/app/modules/home/components/widget/data-key-config.component.scss @@ -58,6 +58,12 @@ } } } + + .tb-hint.after-fields { + margin-top: -1.25em; + max-width: fit-content; + line-height: 15px; + } } } @@ -95,7 +101,7 @@ &.comparison { .mat-expansion-panel-header { - height: 140px; + height: 100%; } }