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

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2025-02-13 17:06:59 +01:00
parent 892c473b06
commit 917b77a026
No known key found for this signature in database
GPG key ID: 45FAE7268762B400

View file

@ -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>