Commit eea4c5185c6c8cdeb1de242ea135428decfce7d0

Authored by Igor Kulikov
1 parent 4718eac8

Improve json content component

@@ -19,7 +19,7 @@ @@ -19,7 +19,7 @@
19 tb-fullscreen 19 tb-fullscreen
20 [fullscreen]="fullscreen" (fullscreenChanged)="onFullscreen()" fxLayout="column"> 20 [fullscreen]="fullscreen" (fullscreenChanged)="onFullscreen()" fxLayout="column">
21 <div fxLayout="row" fxLayoutAlign="start center" style="height: 40px;" class="tb-json-content-toolbar"> 21 <div fxLayout="row" fxLayoutAlign="start center" style="height: 40px;" class="tb-json-content-toolbar">
22 - <label class="tb-title no-padding">{{ label }}</label> 22 + <label class="tb-title no-padding" [ngClass]="{'tb-error': !contentValid}">{{ label }}</label>
23 <span fxFlex></span> 23 <span fxFlex></span>
24 <button type="button" 24 <button type="button"
25 mat-button *ngIf="!readonly && !disabled" class="tidy" (click)="beautifyJSON()"> 25 mat-button *ngIf="!readonly && !disabled" class="tidy" (click)="beautifyJSON()">