Merge pull request #8647 from ArtemDzhereleiko/AD/bug-fix/chart/custom-settings-legend

Fixed Chart widget legend settings expansion panel
This commit is contained in:
Igor Kulikov 2023-05-30 14:59:23 +03:00 committed by GitHub
commit 0dacb2fe0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -290,7 +290,7 @@
<fieldset *ngIf="chartType === 'graph' || chartType === 'bar'" class="fields-group fields-group-slider">
<legend class="group-title" translate>widgets.chart.custom-legend-settings</legend>
<mat-expansion-panel class="tb-settings" [expanded]="flotSettingsFormGroup.get('customLegendEnabled').value">
<mat-expansion-panel-header fxLayout="row" style="height: 100%; min-height: 48px;">
<mat-expansion-panel-header fxLayout="row" style="height: max-content; min-height: 48px;">
<mat-panel-title fxFlex="60">
<mat-slide-toggle formControlName="customLegendEnabled" (click)="$event.stopPropagation()"
fxLayoutAlign="center" style="height: 100%;">