mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
⚡ bottom nav width limited to main column width
This commit is contained in:
parent
2a48633e83
commit
483e497399
@ -1,24 +1,26 @@
|
||||
<div class="bottom-step-buttons" style="">
|
||||
<button
|
||||
*ngIf="display_previous_button"
|
||||
class="button button-previous is-secondary pull-left"
|
||||
[routerLink]="['/administration/step/' + previous_step_number]"
|
||||
>
|
||||
Précédent
|
||||
</button>
|
||||
<div class="bottom-step-buttons">
|
||||
<div class="contained-in-main-column">
|
||||
<button
|
||||
*ngIf="display_previous_button"
|
||||
class="button button-previous is-secondary pull-left"
|
||||
[routerLink]="['/administration/step/' + previous_step_number]"
|
||||
>
|
||||
Précédent
|
||||
</button>
|
||||
|
||||
<button
|
||||
*ngIf="display_next_button"
|
||||
class="button button-next pull-right"
|
||||
[ngClass]="{ 'is-finish': is_finish_step, 'is-primary': !is_finish_step }"
|
||||
[routerLink]="['/administration/step/' + next_step_number]"
|
||||
(click)="runEndAction()"
|
||||
>
|
||||
<span *ngIf="is_finish_step">
|
||||
Enregistrer
|
||||
</span>
|
||||
<span *ngIf="!is_finish_step">
|
||||
Suivant
|
||||
</span>
|
||||
</button>
|
||||
<button
|
||||
*ngIf="display_next_button"
|
||||
class="button button-next pull-right"
|
||||
[ngClass]="{ 'is-finish': is_finish_step, 'is-primary': !is_finish_step }"
|
||||
[routerLink]="['/administration/step/' + next_step_number]"
|
||||
(click)="runEndAction()"
|
||||
>
|
||||
<span *ngIf="is_finish_step">
|
||||
Enregistrer
|
||||
</span>
|
||||
<span *ngIf="!is_finish_step">
|
||||
Suivant
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -66,6 +66,7 @@ main {
|
||||
&.is-fullwidth {
|
||||
width: 100% !important;
|
||||
padding-right: 0 !important;
|
||||
|
||||
.button:nth-of-type(1) {
|
||||
width: 50%;
|
||||
float: right;
|
||||
@ -80,3 +81,10 @@ main {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.contained-in-main-column {
|
||||
max-width: $main-column-width;
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user