Skip to content
Snippets Groups Projects
Unverified Commit d8d27c22 authored by florimondmanca's avatar florimondmanca
Browse files

improve padding of form pages

parent c1be777a
No related branches found
No related tags found
1 merge request!26Release first-users version to production
<app-form-page> <app-form-page>
<h1>Connexion</h1> <h1>Connexion</h1>
<messages></messages>
<form [formGroup]="formGroup" (ngSubmit)="login()"> <form [formGroup]="formGroup" (ngSubmit)="login()">
<!-- Email field --> <!-- Email field -->
...@@ -17,11 +15,15 @@ ...@@ -17,11 +15,15 @@
<!-- Submit --> <!-- Submit -->
<div class="text-center"> <div class="text-center">
<button mat-raised-button color="primary" [disabled]="!formGroup.valid || loading" id="login-btn">Se connecter</button> <button mat-raised-button color="primary" [disabled]="!formGroup.valid || loading" id="login-btn">
<p *ngIf="loading"><i class="fa fa-spinner fa-pulse"></i></p> Se connecter <i *ngIf="loading" class="fa fa-spinner fa-pulse"></i>
</button>
</div> </div>
</form> </form>
<messages></messages>
<p class="text-center"> <p class="text-center">
Ou crée ton Ou crée ton
<a routerLink="/inscription">compte tutoré</a> <a routerLink="/inscription">compte tutoré</a>
......
...@@ -17,7 +17,10 @@ ...@@ -17,7 +17,10 @@
background: white; background: white;
border: 1px solid lightgray; border: 1px solid lightgray;
border-radius: 8px; border-radius: 8px;
padding: 1em;
@include media-xs {
padding: 2em 3em; padding: 2em 3em;
}
box-sizing: border-box; box-sizing: border-box;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment