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 committed by backportbot[bot]
parent 01667ff2ba
commit 72d48de6eb

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>