Browse Source

Timewindow: small fixes

pull/11633/head
Chantsova Ekaterina 2 years ago
parent
commit
d7c5c23afc
  1. 4
      ui-ngx/src/app/shared/components/time/timewindow-form.scss
  2. 2
      ui-ngx/src/app/shared/components/time/timewindow-panel.component.html
  3. 4
      ui-ngx/src/app/shared/components/time/timewindow-panel.component.scss

4
ui-ngx/src/app/shared/components/time/timewindow-form.scss

@ -23,6 +23,10 @@
background-color: #fff; background-color: #fff;
.tb-timewindow-form { .tb-timewindow-form {
display: flex;
flex-direction: column;
overflow: hidden;
.tb-flex { .tb-flex {
gap: 16px; gap: 16px;
} }

2
ui-ngx/src/app/shared/components/time/timewindow-panel.component.html

@ -153,7 +153,7 @@
</section> </section>
</ng-container> </ng-container>
<section class="tb-form-row column same-padding" [fxShow]="(isEdit || !timewindow.hideAggInterval) <section class="tb-form-row column-xs same-padding" [fxShow]="(isEdit || !timewindow.hideAggInterval)
&& timewindowForm.get('aggregation.type').value !== aggregationTypes.NONE"> && timewindowForm.get('aggregation.type').value !== aggregationTypes.NONE">
<ng-container formGroupName="realtime" *ngIf="timewindow.selectedTab === timewindowTypes.REALTIME"> <ng-container formGroupName="realtime" *ngIf="timewindow.selectedTab === timewindowTypes.REALTIME">
<tb-timeinterval <tb-timeinterval

4
ui-ngx/src/app/shared/components/time/timewindow-panel.component.scss

@ -18,10 +18,6 @@
width: 450px; width: 450px;
.tb-timewindow-form { .tb-timewindow-form {
display: flex;
flex-direction: column;
overflow: hidden;
&-header { &-header {
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;

Loading…
Cancel
Save