Merge pull request #7500 from engix-ltd/threshold_layout

[3.4.2] UI: Use row layout on screen bigger than xs size.
This commit is contained in:
Andrew Shvayka 2022-11-01 11:58:54 +02:00 committed by GitHub
commit 4a2e40fdb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,8 +31,8 @@
<mat-label translate>widgets.value-source.value</mat-label>
<input matInput type="number" formControlName="value">
</mat-form-field>
<section [fxShow]="valueSourceFormGroup.get('valueSource').value === 'entityAttribute'" fxLayout="column" fxLayout.gt-xs="column"
fxLayoutGap.gt-xs="8px" fxLayoutAlign.gt-xs="start center">
<section [fxShow]="valueSourceFormGroup.get('valueSource').value === 'entityAttribute'"
fxLayout="row" fxLayout.xs="column" fxLayoutGap="8px" fxLayoutAlign="start center">
<mat-form-field fxFlex class="mat-block">
<mat-label>{{ 'widgets.value-source.source-entity-alias' | translate }}</mat-label>
<input matInput type="text" placeholder="{{ 'entity.entity-alias' | translate }}"