Skip to content

Commit 1071941

Browse files
committed
fix: update input class for improved accessibility and styling
- Modified the class of the password input field in the LoginView component to remove the outline and ring, enhancing the visual appearance and accessibility. - This change aims to provide a cleaner user interface while maintaining functionality. Signed-off-by: Innei <tukon479@gmail.com>
1 parent 465afb3 commit 1071941

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/views/login/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export const LoginView = defineComponent({
198198
autocomplete="current-password"
199199
placeholder="输入密码"
200200
disabled={isLoading.value}
201-
class="h-[38px] w-full rounded-full border-0 bg-white/20 px-4 text-center text-sm text-white backdrop-blur-md transition-all placeholder:text-white/60 disabled:cursor-not-allowed disabled:opacity-50"
201+
class="h-[38px] w-full rounded-full border-0 bg-white/20 px-4 text-center text-sm text-white outline-none ring-0 backdrop-blur-md transition-all placeholder:text-white/60 disabled:cursor-not-allowed disabled:opacity-50"
202202
/>
203203
{/* Submit on Enter - hidden button */}
204204
<button type="submit" class="sr-only">

0 commit comments

Comments
 (0)