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 39c8de97e1..6a596807a3 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 @@ -22,14 +22,16 @@
-
{{ 'timewindow.time-range' | translate }}
-
- - - - +
+
+
{{ 'timewindow.time-range' | translate }}
+ + + + +
@@ -58,7 +60,7 @@ -
+
{{ 'timezone.timezone' | translate }}
@@ -72,13 +74,16 @@
-
{{ 'timewindow.time-range' | translate }}
-
- - - - +
+
+
{{ 'timewindow.time-range' | translate }}
+ + + + +
diff --git a/ui-ngx/src/app/shared/components/time/timewindow-panel.component.ts b/ui-ngx/src/app/shared/components/time/timewindow-panel.component.ts index ac29d4aaa5..d3cf61ba88 100644 --- a/ui-ngx/src/app/shared/components/time/timewindow-panel.component.ts +++ b/ui-ngx/src/app/shared/components/time/timewindow-panel.component.ts @@ -125,7 +125,7 @@ export class TimewindowPanelComponent extends PageComponent implements OnInit { }); } - if (this.isEdit || (!this.timewindow.hideLastInterval && !this.quickIntervalOnly)) { + if ((this.isEdit || !this.timewindow.hideLastInterval) && !this.quickIntervalOnly) { this.realtimeTimewindowOptions.push({ name: this.translate.instant('timewindow.last'), value: this.realtimeTypes.LAST_INTERVAL diff --git a/ui-ngx/src/form.scss b/ui-ngx/src/form.scss index c9580bcf74..661f4bccc7 100644 --- a/ui-ngx/src/form.scss +++ b/ui-ngx/src/form.scss @@ -293,6 +293,12 @@ &.align-center { align-items: center; } + &.align-start { + align-items: start; + } + &.align-end { + align-items: end; + } &.no-gap { gap: 0; }