fix(login): only show error state on login box if user interacted

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/50798/head
Ferdinand Thiessen 2025-02-13 17:06:59 +07:00
parent 892c473b06
commit 917b77a026
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400
1 changed files with 5 additions and 0 deletions

@ -304,5 +304,10 @@ export default {
text-align: center;
overflow-wrap: anywhere;
}
// Only show the error state if the user interacted with the login box
:deep(input:invalid:not(:user-invalid)) {
border-color: var(--color-border-maxcontrast) !important;
}
}
</style>