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>
<h1 i18n>
Pour commencer
</h1>
<div class="flex-line">
<span class="pre-selector" i18n>
Je veux créer un sondage
</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">
<span class="pre-selector" i18n>
Je veux créer un sondage
</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">
<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 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>
<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>
<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">
<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>
</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>

View File

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