Commit 6ef3485c5684f44c331bccdd8d1409d2eed740ef

Authored by Chantsova Ekaterina
1 parent 688a2720

UI: fix incorrect timewindow displaying

@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
17 --> 17 -->
18 <form [formGroup]="timewindowForm" (ngSubmit)="update()"> 18 <form [formGroup]="timewindowForm" (ngSubmit)="update()">
19 <fieldset [disabled]="(isLoading$ | async)"> 19 <fieldset [disabled]="(isLoading$ | async)">
20 - <div class="mat-content" style="height: 100%;" fxLayout="column"> 20 + <div class="mat-content" fxLayout="column">
21 <mat-tab-group dynamicHeight [ngClass]="{'tb-headless': historyOnly}" 21 <mat-tab-group dynamicHeight [ngClass]="{'tb-headless': historyOnly}"
22 (selectedIndexChange)="timewindowForm.markAsDirty()" [(selectedIndex)]="timewindow.selectedTab"> 22 (selectedIndexChange)="timewindowForm.markAsDirty()" [(selectedIndex)]="timewindow.selectedTab">
23 <mat-tab label="{{ 'timewindow.realtime' | translate }}"> 23 <mat-tab label="{{ 'timewindow.realtime' | translate }}">
@@ -185,7 +185,7 @@ export class TimewindowComponent implements OnInit, OnDestroy, ControlValueAcces @@ -185,7 +185,7 @@ export class TimewindowComponent implements OnInit, OnDestroy, ControlValueAcces
185 }); 185 });
186 if (isGtXs) { 186 if (isGtXs) {
187 config.minWidth = '417px'; 187 config.minWidth = '417px';
188 - config.maxHeight = '500px'; 188 + config.maxHeight = '550px';
189 const panelHeight = 375; 189 const panelHeight = 375;
190 const panelWidth = 417; 190 const panelWidth = 417;
191 const el = this.timewindowPanelOrigin.elementRef.nativeElement; 191 const el = this.timewindowPanelOrigin.elementRef.nativeElement;