瀏覽代碼

Updated registration page

Will Browning 6 年之前
父節點
當前提交
d216fd9e29
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      resources/views/auth/register.blade.php

+ 5 - 5
resources/views/auth/register.blade.php

@@ -60,7 +60,7 @@
                             <input id="email-confirm" type="email" class="appearance-none bg-grey-100 rounded w-full p-3 text-grey-700 focus:shadow-outline" name="email_confirmation" placeholder="johndoe@example.com" required>
                         </div>
 
-                        <div class="flex flex-wrap mb-4">
+                        <div class="flex flex-wrap mb-6">
                             <label for="password" class="block text-grey-700 text-sm mb-2">
                                 {{ __('Password') }}:
                             </label>
@@ -75,14 +75,14 @@
                         </div>
 
                         <div class="flex flex-wrap mb-4 items-center">
-                            <label for="captcha" class="block w-full text-grey-700 text-sm mb-2">
+                            <label for="captcha" class="block w-full text-grey-700 text-sm">
                                 Verification:
                             </label>
 
-                            <div class="flex flex-grow">
-                                <img src="{{captcha_src('mini')}}" class="h-12 w-16 mr-2">
+                            <div class="flex flex-grow flex-wrap">
+                                <img src="{{captcha_src('mini')}}" class="flex-shrink-0 h-12 w-16 mr-2 mt-2">
 
-                                <input id="captcha" type="text" class="w-full appearance-none bg-grey-100 rounded p-3 text-grey-700 focus:shadow-outline{{ $errors->has('captcha') ? ' border-red-500' : '' }}" name="captcha" placeholder="Enter the text you see" required>
+                                <input id="captcha" type="text" class="flex-grow mt-2 appearance-none bg-grey-100 rounded p-3 text-grey-700 focus:shadow-outline{{ $errors->has('captcha') ? ' border-red-500' : '' }}" name="captcha" placeholder="Enter the text you see" required>
                             </div>
 
                             @if ($errors->has('captcha'))