Browse Source
Merge pull request #4790 from ChantsovaEkaterina/bug/incorrect-timewindow-displaying
UI: fix incorrect timewindow displaying
pull/4851/head
Igor Kulikov
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
ui-ngx/src/app/shared/components/time/timewindow-panel.component.html
-
ui-ngx/src/app/shared/components/time/timewindow.component.ts
|
|
|
@ -17,7 +17,7 @@ |
|
|
|
--> |
|
|
|
<form [formGroup]="timewindowForm" (ngSubmit)="update()"> |
|
|
|
<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}" |
|
|
|
(selectedIndexChange)="timewindowForm.markAsDirty()" [(selectedIndex)]="timewindow.selectedTab"> |
|
|
|
<mat-tab label="{{ 'timewindow.realtime' | translate }}"> |
|
|
|
|
|
|
|
@ -185,7 +185,7 @@ export class TimewindowComponent implements OnInit, OnDestroy, ControlValueAcces |
|
|
|
}); |
|
|
|
if (isGtXs) { |
|
|
|
config.minWidth = '417px'; |
|
|
|
config.maxHeight = '500px'; |
|
|
|
config.maxHeight = '550px'; |
|
|
|
const panelHeight = 375; |
|
|
|
const panelWidth = 417; |
|
|
|
const el = this.timewindowPanelOrigin.elementRef.nativeElement; |
|
|
|
|