Browse Source

Use row layout on screen bigger than xs size.

pull/7500/head
devaskim 4 years ago
parent
commit
252346706e
  1. 4
      ui-ngx/src/app/modules/home/components/widget/lib/settings/common/value-source.component.html

4
ui-ngx/src/app/modules/home/components/widget/lib/settings/common/value-source.component.html

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

Loading…
Cancel
Save