diff --git a/ui-ngx/src/app/shared/components/time/timeinterval.component.ts b/ui-ngx/src/app/shared/components/time/timeinterval.component.ts index a10f4c21c9..9cb43388cb 100644 --- a/ui-ngx/src/app/shared/components/time/timeinterval.component.ts +++ b/ui-ngx/src/app/shared/components/time/timeinterval.component.ts @@ -77,7 +77,9 @@ export class TimeintervalComponent implements OnInit, ControlValueAccessor, OnDe if (this.disabledAdvancedState !== disabledAdvanced) { this.disabledAdvancedState = disabledAdvanced; this.updateIntervalValue(); - this.boundInterval(); + if (!this.disabledAdvancedState) { + this.boundInterval(); + } } } diff --git a/ui-ngx/src/app/shared/components/time/timewindow-panel.component.html b/ui-ngx/src/app/shared/components/time/timewindow-panel.component.html index f47fb90271..0b93857a81 100644 --- a/ui-ngx/src/app/shared/components/time/timewindow-panel.component.html +++ b/ui-ngx/src/app/shared/components/time/timewindow-panel.component.html @@ -32,7 +32,7 @@
-
+
{{ 'timewindow.timewindow' | translate }}
@@ -73,7 +73,7 @@
-
+
{{ 'timewindow.timewindow' | translate }}
@@ -182,8 +182,8 @@
-
-
{{ 'timezone.timezone' | translate }}
+
+
{{ 'timezone.timezone' | translate }}
diff --git a/ui-ngx/src/form.scss b/ui-ngx/src/form.scss index 40f0bd70d9..83c773cbbb 100644 --- a/ui-ngx/src/form.scss +++ b/ui-ngx/src/form.scss @@ -264,18 +264,21 @@ } .tb-flex { - display: flex; flex: 1; - gap: 8px; + &.no-flex { flex: none; - &.flex-xs { - @media #{$mat-xs} { - width: auto; - flex: 1; - } + } + + &-xs { + @media #{$mat-xs} { + flex: 1; } } + } + [class*="tb-flex"] { + display: flex; + gap: 8px; &.row { flex-direction: row; }