added wrap to flex-line

This commit is contained in:
newick 2019-09-06 11:47:54 +02:00
parent cb6979926d
commit ef9a0fe770
2 changed files with 40 additions and 42 deletions

View File

@ -1,11 +1,9 @@
<div class="description">
<router-outlet></router-outlet>
<h1 i18n>
<router-outlet></router-outlet>
<h1 i18n>
Pour commencer
</h1>
</h1>
<div class="flex-line">
<div class="flex-line">
<span class="pre-selector" i18n>
Je veux créer un sondage
</span>
@ -17,31 +15,30 @@
classique
</option>
</select>
</div>
</div>
<div class="flex-line">
<div class="flex-line">
<label for="poll_title" class="title-label" i18n>
Dont le titre sera
</label>
<input type="text" id="poll_title" name="poll_title" [(ngModel)]="config.title">
</div>
</div>
<div>
<div>
<label for="poll_description" class="title-label" i18n>
et la description serait
</label>
<textarea id="poll_description" name="poll_description" [(ngModel)]="config.description" cols="50"
lines="5"></textarea>
</div>
<div class="flex-line">
</div>
<div class="flex-line">
<label for="my_name">
Je peux aussi préciser mon nom si je le souhaite :
</label>
<input type="text" name="my_name" id="my_name" [(ngModel)]="config.myName">
</div>
<a [routerLink]="'/step/answers'" class="btn btn-block" i18n>
Continuer
</a>
</div>
<a [routerLink]="'/step/answers'" class="btn btn-block" i18n>
Continuer
</a>

View File

@ -3,6 +3,7 @@
.flex-line {
display: flex;
align-items: center;
flex-wrap: wrap;
& > input,
& > select {