Просмотр исходного кода

fix: remove unnecessary icon spans from login input fields for cleaner UI

Manuel 11 месяцев назад
Родитель
Сommit
cdcc0e72ca
1 измененных файлов с 2 добавлено и 8 удалено
  1. 2 8
      templates/auth/login.html

+ 2 - 8
templates/auth/login.html

@@ -99,12 +99,9 @@
                         name="username" 
                         required
                         autocomplete="username"
-                        class="input-focus w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all duration-200 pl-11"
+                        class="input-focus w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all duration-200"
                         placeholder="Ingresa tu usuario"
                     >
-                    <span class="absolute left-4 top-1/2 transform -translate-y-1/2 text-gray-400">
-                        <i class="fas fa-user"></i>
-                    </span>
                 </div>
             </div>
 
@@ -120,12 +117,9 @@
                         name="password" 
                         required
                         autocomplete="current-password"
-                        class="input-focus w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all duration-200 pl-11 pr-11"
+                        class="input-focus w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all duration-200 pr-11"
                         placeholder="Ingresa tu contraseña"
                     >
-                    <span class="absolute left-4 top-1/2 transform -translate-y-1/2 text-gray-400">
-                        <i class="fas fa-lock"></i>
-                    </span>
                     <button 
                         type="button" 
                         onclick="togglePassword()"