Improved styling
This commit is contained in:
		
							parent
							
								
									ff647aedc7
								
							
						
					
					
						commit
						dfb22314e4
					
				@ -15,7 +15,7 @@
 | 
			
		||||
    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">
 | 
			
		||||
    <h2>{{ 'calculated-fields.debugging' | translate}}</h2>
 | 
			
		||||
    <span class="flex-1"></span>
 | 
			
		||||
@ -25,7 +25,7 @@
 | 
			
		||||
      <mat-icon class="material-icons">close</mat-icon>
 | 
			
		||||
    </button>
 | 
			
		||||
  </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
 | 
			
		||||
      [tenantId]="data.tenantId"
 | 
			
		||||
      [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({
 | 
			
		||||
  selector: 'tb-calculated-field-debug-dialog',
 | 
			
		||||
  styleUrls: ['calculated-field-debug-dialog.component.scss'],
 | 
			
		||||
  templateUrl: './calculated-field-debug-dialog.component.html',
 | 
			
		||||
})
 | 
			
		||||
export class CalculatedFieldDebugDialogComponent extends DialogComponent<CalculatedFieldDebugDialogComponent, null> implements AfterViewInit {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user