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

[editor] Replace Flex layout module with classes in ElementPropertiesP.

parent 2ce83e56
No related branches found
No related tags found
No related merge requests found
...@@ -34,3 +34,29 @@ mat-tab-group { ...@@ -34,3 +34,29 @@ mat-tab-group {
:host ::ng-deep math-field { :host ::ng-deep math-field {
margin: 0 3px 10px 3px; margin: 0 3px 10px 3px;
} }
.fx-column-start-stretch {
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: start;
align-items: stretch;
}
.fill {
height: 100%;
min-height: 100%;
min-width: 100%;
width: 100%;
box-sizing: border-box;
}
.fx-flex {
flex: 1 1 0;
box-sizing: border-box;
display: flex;
}
.fx-align-self-center {
align-self: center;
}
<div *ngIf="selectedElements.length > 0 && combinedProperties" <div *ngIf="selectedElements.length > 0 && combinedProperties"
class="properties-panel" fxFlexFill class="properties-panel fx-column-start-stretch fill">
fxLayout="column" fxLayoutAlign="start stretch"> <div class="panel-title fx-column-start-stretch">
<div class="panel-title" fxLayout="column">
<ng-container *ngIf="combinedProperties.type"> <ng-container *ngIf="combinedProperties.type">
{{'toolbox.' + combinedProperties.type | translate}} {{'toolbox.' + combinedProperties.type | translate}}
<span>{{combinedProperties.id}}</span> <span>{{combinedProperties.id}}</span>
...@@ -11,7 +10,7 @@ ...@@ -11,7 +10,7 @@
</ng-container> </ng-container>
</div> </div>
<mat-tab-group mat-stretch-tabs fxFlex> <mat-tab-group class="fx-flex" mat-stretch-tabs>
<mat-tab> <mat-tab>
<ng-template mat-tab-label> <ng-template mat-tab-label>
<mat-icon class="example-tab-icon">build</mat-icon> <mat-icon class="example-tab-icon">build</mat-icon>
...@@ -42,8 +41,8 @@ ...@@ -42,8 +41,8 @@
</mat-tab> </mat-tab>
</mat-tab-group> </mat-tab-group>
<div fxLayout="column" class="button-group"> <div class="button-group fx-column-start-stretch">
<mat-checkbox fxFlexAlign="center" <mat-checkbox class="fx-align-self-center"
[indeterminate]="interactionIndeterminate" [indeterminate]="interactionIndeterminate"
[checked]="interactionEnabled" [checked]="interactionEnabled"
(change)="setElementInteractionEnabled($event.checked)"> (change)="setElementInteractionEnabled($event.checked)">
......
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