Improved styling
This commit is contained in:
parent
ff647aedc7
commit
dfb22314e4
@ -15,7 +15,7 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
|
|
||||||
-->
|
-->
|
||||||
<div class="min-w-90 h-[77vh] w-screen max-w-5xl">
|
<div class="min-w-90 w-screen max-w-5xl debug-dialog-container">
|
||||||
<mat-toolbar color="primary">
|
<mat-toolbar color="primary">
|
||||||
<h2>{{ 'calculated-fields.debugging' | translate}}</h2>
|
<h2>{{ 'calculated-fields.debugging' | translate}}</h2>
|
||||||
<span class="flex-1"></span>
|
<span class="flex-1"></span>
|
||||||
@ -25,7 +25,7 @@
|
|||||||
<mat-icon class="material-icons">close</mat-icon>
|
<mat-icon class="material-icons">close</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
</mat-toolbar>
|
</mat-toolbar>
|
||||||
<div mat-dialog-content class="tb-form-panel h-full">
|
<div mat-dialog-content class="tb-form-panel stroked h-full debug-dialog-content">
|
||||||
<tb-event-table
|
<tb-event-table
|
||||||
[tenantId]="data.tenantId"
|
[tenantId]="data.tenantId"
|
||||||
[debugEventTypes]="[debugEventTypes.DEBUG_CALCULATED_FIELD]"
|
[debugEventTypes]="[debugEventTypes.DEBUG_CALCULATED_FIELD]"
|
||||||
|
|||||||
@ -0,0 +1,24 @@
|
|||||||
|
/**
|
||||||
|
* Copyright © 2016-2024 The Thingsboard Authors
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
:host {
|
||||||
|
.debug-dialog-container {
|
||||||
|
height: 77vh;
|
||||||
|
|
||||||
|
.debug-dialog-content {
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -26,6 +26,7 @@ import { CalculatedFieldDebugDialogData } from '@shared/models/calculated-field.
|
|||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'tb-calculated-field-debug-dialog',
|
selector: 'tb-calculated-field-debug-dialog',
|
||||||
|
styleUrls: ['calculated-field-debug-dialog.component.scss'],
|
||||||
templateUrl: './calculated-field-debug-dialog.component.html',
|
templateUrl: './calculated-field-debug-dialog.component.html',
|
||||||
})
|
})
|
||||||
export class CalculatedFieldDebugDialogComponent extends DialogComponent<CalculatedFieldDebugDialogComponent, null> implements AfterViewInit {
|
export class CalculatedFieldDebugDialogComponent extends DialogComponent<CalculatedFieldDebugDialogComponent, null> implements AfterViewInit {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user