Skip to content

Commit 8b633b1

Browse files
committed
Fix input with error border color
1 parent a0f437f commit 8b633b1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/tailwindcss-stubs/resources/views/auth/passwords/email.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
{{ __('E-Mail Address') }}:
2626
</label>
2727

28-
<input id="email" type="email" class="shadow appearance-none border rounded w-full py-2 px-3 text-grey-darker leading-tight focus:outline-none focus:shadow-outline{{ $errors->has('email') ? ' border-red' : '' }}" name="email" value="{{ old('email') }}" required>
28+
<input id="email" type="email" class="shadow appearance-none border rounded w-full py-2 px-3 text-grey-darker leading-tight focus:outline-none focus:shadow-outline{{ $errors->has('email') ? ' border-red-500' : '' }}" name="email" value="{{ old('email') }}" required>
2929

3030
@if ($errors->has('email'))
3131
<p class="text-red-500 text-xs italic mt-4">

src/tailwindcss-stubs/resources/views/auth/passwords/reset.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
{{ __('E-Mail Address') }}:
2121
</label>
2222

23-
<input id="email" type="email" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline{{ $errors->has('email') ? ' border-red' : '' }}" name="email" value="{{ old('email') }}" required autofocus>
23+
<input id="email" type="email" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline{{ $errors->has('email') ? ' border-red-500' : '' }}" name="email" value="{{ old('email') }}" required autofocus>
2424

2525
@if ($errors->has('email'))
2626
<p class="text-red-500 text-xs italic mt-4">
@@ -34,7 +34,7 @@
3434
{{ __('Password') }}:
3535
</label>
3636

37-
<input id="password" type="password" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline{{ $errors->has('password') ? ' border-red' : '' }}" name="password" required>
37+
<input id="password" type="password" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline{{ $errors->has('password') ? ' border-red-500' : '' }}" name="password" required>
3838

3939
@if ($errors->has('password'))
4040
<p class="text-red-500 text-xs italic mt-4">

0 commit comments

Comments
 (0)