chore(front linter): fix warnings

This commit is contained in:
Edouard Vanbelle
2026-06-15 17:02:51 +02:00
parent 5eb4d9117c
commit c952852d13
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -13,6 +13,7 @@ html {
body {
display: flex;
height: 100vh; /* fallback for browsers without dvh */
/* biome-ignore lint/suspicious/noDuplicateProperties: explicit fallback */
height: 100dvh;
font-size: var(--text-base);
line-height: var(--leading-normal);
+3 -3
View File
@@ -831,9 +831,9 @@ function initLoginElements() {
initMagicLinkDisclosure();
initPasswordMatch('register-password', 'register-password-confirm', 'register-match');
initPasswordMatch('admin-password', 'admin-password-confirm', 'admin-match');
['login-password', 'register-password', 'admin-password'].forEach((id) =>
initCapsLockWarning(/** @type {HTMLInputElement | null} */ (document.getElementById(id)))
);
['login-password', 'register-password', 'admin-password'].forEach((id) => {
initCapsLockWarning(/** @type {HTMLInputElement | null} */ (document.getElementById(id)));
});
return true;
}