UI: fix incorrect timewindow displaying
This commit is contained in:
parent
688a272035
commit
6ef3485c56
@ -17,7 +17,7 @@
|
|||||||
-->
|
-->
|
||||||
<form [formGroup]="timewindowForm" (ngSubmit)="update()">
|
<form [formGroup]="timewindowForm" (ngSubmit)="update()">
|
||||||
<fieldset [disabled]="(isLoading$ | async)">
|
<fieldset [disabled]="(isLoading$ | async)">
|
||||||
<div class="mat-content" style="height: 100%;" fxLayout="column">
|
<div class="mat-content" fxLayout="column">
|
||||||
<mat-tab-group dynamicHeight [ngClass]="{'tb-headless': historyOnly}"
|
<mat-tab-group dynamicHeight [ngClass]="{'tb-headless': historyOnly}"
|
||||||
(selectedIndexChange)="timewindowForm.markAsDirty()" [(selectedIndex)]="timewindow.selectedTab">
|
(selectedIndexChange)="timewindowForm.markAsDirty()" [(selectedIndex)]="timewindow.selectedTab">
|
||||||
<mat-tab label="{{ 'timewindow.realtime' | translate }}">
|
<mat-tab label="{{ 'timewindow.realtime' | translate }}">
|
||||||
|
|||||||
@ -185,7 +185,7 @@ export class TimewindowComponent implements OnInit, OnDestroy, ControlValueAcces
|
|||||||
});
|
});
|
||||||
if (isGtXs) {
|
if (isGtXs) {
|
||||||
config.minWidth = '417px';
|
config.minWidth = '417px';
|
||||||
config.maxHeight = '500px';
|
config.maxHeight = '550px';
|
||||||
const panelHeight = 375;
|
const panelHeight = 375;
|
||||||
const panelWidth = 417;
|
const panelWidth = 417;
|
||||||
const el = this.timewindowPanelOrigin.elementRef.nativeElement;
|
const el = this.timewindowPanelOrigin.elementRef.nativeElement;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user