Fix search layout
This commit is contained in:
parent
ae9998f640
commit
72c1386fb8
@ -68,14 +68,14 @@
|
||||
<section class="group">
|
||||
<span class="title">Text</span>
|
||||
<div class="content vertical-wrap">
|
||||
<mat-form-field appearance="outline" class="text-input">
|
||||
<mat-form-field appearance="outline" style="margin-bottom: -1.25em">
|
||||
<mat-label>Text search</mat-label>
|
||||
<input [(ngModel)]="textFilter" matInput>
|
||||
<button (click)="textFilter = ''" *ngIf="textFilter.length" mat-icon-button matSuffix>
|
||||
<mat-icon>clear</mat-icon>
|
||||
</button>
|
||||
</mat-form-field>
|
||||
<div class="horizontal space">
|
||||
<div class="horizontal space center">
|
||||
<span>Search in description </span>
|
||||
<mat-slide-toggle [(ngModel)]="fullText"></mat-slide-toggle>
|
||||
</div>
|
||||
|
||||
@ -54,11 +54,17 @@
|
||||
|
||||
&.space {
|
||||
> * {
|
||||
margin-right: 1rem;
|
||||
margin: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
&.center {
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
.vertical {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@ -68,7 +74,7 @@
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
justify-content: space-evenly;
|
||||
align-items: center;
|
||||
|
||||
> * {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user