better spacing advanced search

This commit is contained in:
Timo Volkmann 2020-06-25 21:24:54 +02:00
parent 67ea0587db
commit f2c7aec2d3
2 changed files with 10 additions and 7 deletions

View File

@ -81,9 +81,9 @@
<mat-icon>clear</mat-icon> <mat-icon>clear</mat-icon>
</button> </button>
</mat-form-field> </mat-form-field>
<div class="horizontal space center"> <div class="horizontal space">
<span>Search in description </span>
<mat-slide-toggle [(ngModel)]="fullText"></mat-slide-toggle> <mat-slide-toggle [(ngModel)]="fullText"></mat-slide-toggle>
<span>Search in description </span>
</div> </div>
</div> </div>
</section> </section>

View File

@ -46,8 +46,9 @@
color: gray; color: gray;
} }
> .content { >.content {
margin: 0 2.5rem; // margin: 0 2.5rem;
margin-top: 0.5rem;
.text-input { .text-input {
min-width: 14rem; min-width: 14rem;
@ -86,12 +87,14 @@
display: flex; display: flex;
flex-direction: row; flex-direction: row;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-evenly; justify-content: space-between;
align-items: center; align-items: center;
margin-left: -0.5rem;
margin-right: -0.5rem;
> * { > * {
width: 45%; flex-grow: 1;
min-width: 15rem; margin: 0 0.5rem;
} }
} }