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

Replace Flex layout module with own class in SpellCorrectComponent

- Reformat styles
parent 95e7853c
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ import { TextInputComponent } from 'common/directives/text-input-component.direc ...@@ -10,7 +10,7 @@ import { TextInputComponent } from 'common/directives/text-input-component.direc
template: ` template: `
<div [style.width.%]="100" <div [style.width.%]="100"
[style.height.%]="100"> [style.height.%]="100">
<div fxFlex fxLayout="column" <div class="fx-column-start-stretch"
aspectInputBackgroundColor [backgroundColor]="elementModel.styling.backgroundColor" aspectInputBackgroundColor [backgroundColor]="elementModel.styling.backgroundColor"
[style.width.%]="100" [style.width.%]="100"
[style.height.%]="100"> [style.height.%]="100">
...@@ -65,9 +65,19 @@ import { TextInputComponent } from 'common/directives/text-input-component.direc ...@@ -65,9 +65,19 @@ import { TextInputComponent } from 'common/directives/text-input-component.direc
</div> </div>
</div> </div>
`, `,
styles: [ styles: [`
':host ::ng-deep .small-input div.mat-form-field-infix {border-top: none; padding: 0.75em 0 0.25em 0;}' :host ::ng-deep .small-input div.mat-form-field-infix {
] border-top: none;
padding: 0.75em 0 0.25em 0;
}
.fx-column-start-stretch {
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: start;
align-items: stretch;
}
`]
}) })
export class SpellCorrectComponent extends TextInputComponent { export class SpellCorrectComponent extends TextInputComponent {
@Input() elementModel!: SpellCorrectElement; @Input() elementModel!: SpellCorrectElement;
......
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