Skip to content
Snippets Groups Projects
Commit 2f32e3df authored by jojohoch's avatar jojohoch
Browse files

[editor] Replace Flex layout module with class in InputElementProperties

parent d81f1bca
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ import { UIElement } from 'common/models/elements/element'; ...@@ -6,7 +6,7 @@ import { UIElement } from 'common/models/elements/element';
@Component({ @Component({
selector: 'aspect-input-element-properties', selector: 'aspect-input-element-properties',
template: ` template: `
<fieldset *ngIf="combinedProperties.required !== undefined" fxLayout="column"> <fieldset *ngIf="combinedProperties.required !== undefined" class="fx-column-start-stretch">
<legend>Eingabeelement</legend> <legend>Eingabeelement</legend>
<mat-form-field *ngIf="combinedProperties.label !== undefined" appearance="fill"> <mat-form-field *ngIf="combinedProperties.label !== undefined" appearance="fill">
<mat-label>{{'propertiesPanel.label' | translate }}</mat-label> <mat-label>{{'propertiesPanel.label' | translate }}</mat-label>
...@@ -33,7 +33,16 @@ import { UIElement } from 'common/models/elements/element'; ...@@ -33,7 +33,16 @@ import { UIElement } from 'common/models/elements/element';
(input)="updateModel.emit({ property: 'requiredWarnMessage', value: $any($event.target).value })"> (input)="updateModel.emit({ property: 'requiredWarnMessage', value: $any($event.target).value })">
</mat-form-field> </mat-form-field>
</fieldset> </fieldset>
` `,
styles: [`
.fx-column-start-stretch {
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: stretch;
}
`]
}) })
export class InputElementPropertiesComponent { export class InputElementPropertiesComponent {
@Input() combinedProperties!: UIElement; @Input() combinedProperties!: UIElement;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment