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

[editor] Replace Flex layout module with class in BorderPropertiesComp.

parent a3ec78d4
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-border-properties', selector: 'aspect-border-properties',
template: ` template: `
<div fxLayout="column"> <div class="fx-column-start-stretch">
<mat-checkbox *ngIf="combinedProperties.hasBorderTop !== undefined" <mat-checkbox *ngIf="combinedProperties.hasBorderTop !== undefined"
[checked]="$any(combinedProperties).hasBorderTop" [checked]="$any(combinedProperties).hasBorderTop"
(change)="updateModel.emit({ property: 'hasBorderTop', value: $event.checked })"> (change)="updateModel.emit({ property: 'hasBorderTop', value: $event.checked })">
...@@ -28,7 +28,16 @@ import { UIElement } from 'common/models/elements/element'; ...@@ -28,7 +28,16 @@ import { UIElement } from 'common/models/elements/element';
{{'propertiesPanel.hasBorderRight' | translate }} {{'propertiesPanel.hasBorderRight' | translate }}
</mat-checkbox> </mat-checkbox>
</div> </div>
` `,
styles: [`
.fx-column-start-stretch {
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: stretch;
}
`]
}) })
export class BorderPropertiesComponent { export class BorderPropertiesComponent {
@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