Improve json content component

This commit is contained in:
Igor Kulikov 2020-05-14 19:49:44 +03:00
parent 4718eac882
commit eea4c5185c

View File

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