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

View File

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