Updated login and register form layout slightly

This commit is contained in:
cp6 2024-05-14 22:27:08 +10:00
parent 6e55018974
commit f9e39e74bc
3 changed files with 9 additions and 4 deletions

View file

@ -21,6 +21,11 @@ Custom styles go in here
display: contents !important;
}
.form-signin input[type="password"] {
margin-bottom: 10px;
border-radius: var(--bs-border-radius) !important;
}
@media (min-width: 1400px) {
.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
max-width: 1520px;

View file

@ -6,7 +6,7 @@
<!-- Validation Errors -->
<x-auth-validation-errors class="mb-4" :errors="$errors"/>
<h3 class="text-center mb-4">@if (config()->has('app.name')) {{ config('app.name') }} @else My idlers @endif</h3>
<h3 class="text-center mb-5">@if (config()->has('app.name')) {{ config('app.name') }} @else My idlers @endif</h3>
<form method="POST" action="{{ route('login') }}">
@csrf
<div class="form-floating mb-3">
@ -35,7 +35,7 @@
{{ __('Forgot your password?') }}
</a>
@endif
<x-button class="mt-3 w-100 btn btn-lg btn-primary">
<x-button class="mt-4 w-100 btn btn-lg btn-primary">
{{ __('Login') }}
</x-button>
</form>

View file

@ -4,7 +4,7 @@
<!-- Validation Errors -->
<x-auth-validation-errors class="mb-4" :errors="$errors"/>
<h3 class="text-center mb-4">@if (config()->has('app.name')) {{ config('app.name') }} @else My idlers @endif Register</h3>
<h3 class="text-center mb-5">@if (config()->has('app.name')) {{ config('app.name') }} @else My idlers @endif Register</h3>
<form method="POST" action="{{ route('register') }}">
@csrf
@ -50,7 +50,7 @@
</a>
</div>
<div class="col-12">
<x-button class="mt-3 w-100 btn btn-lg btn-primary">
<x-button class="mt-4 w-100 btn btn-lg btn-primary">
{{ __('Register') }}
</x-button>
</div>