Styling login form.

This commit is contained in:
Florian THIERRY
2024-06-07 09:44:51 +02:00
parent 95d5308934
commit 8ada2a15ef
2 changed files with 7 additions and 7 deletions

View File

@@ -17,7 +17,7 @@
<input type="password" id="password" formControlName="password" required /> <input type="password" id="password" formControlName="password" required />
</div> </div>
<div class="actions"> <div class="actions">
<a [routerLink]="['/home']">Create an account</a>
<button type="submit">Send</button> <button type="submit">Send</button>
<a [routerLink]="['/home']">Create an account</a>
</div> </div>
</form> </form>

View File

@@ -34,15 +34,10 @@
} }
&.actions { &.actions {
flex-direction: row; flex-direction: row-reverse;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
a {
color: #3f51b5;
text-decoration: none;
}
button { button {
padding: .8em 1.2em; padding: .8em 1.2em;
border-radius: 10em; border-radius: 10em;
@@ -56,6 +51,11 @@
cursor: pointer; cursor: pointer;
} }
} }
a {
color: #3f51b5;
text-decoration: none;
}
} }
label { label {