chore(front linter): fix warnings
This commit is contained in:
@@ -13,6 +13,7 @@ html {
|
|||||||
body {
|
body {
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 100vh; /* fallback for browsers without dvh */
|
height: 100vh; /* fallback for browsers without dvh */
|
||||||
|
/* biome-ignore lint/suspicious/noDuplicateProperties: explicit fallback */
|
||||||
height: 100dvh;
|
height: 100dvh;
|
||||||
font-size: var(--text-base);
|
font-size: var(--text-base);
|
||||||
line-height: var(--leading-normal);
|
line-height: var(--leading-normal);
|
||||||
|
|||||||
@@ -831,9 +831,9 @@ function initLoginElements() {
|
|||||||
initMagicLinkDisclosure();
|
initMagicLinkDisclosure();
|
||||||
initPasswordMatch('register-password', 'register-password-confirm', 'register-match');
|
initPasswordMatch('register-password', 'register-password-confirm', 'register-match');
|
||||||
initPasswordMatch('admin-password', 'admin-password-confirm', 'admin-match');
|
initPasswordMatch('admin-password', 'admin-password-confirm', 'admin-match');
|
||||||
['login-password', 'register-password', 'admin-password'].forEach((id) =>
|
['login-password', 'register-password', 'admin-password'].forEach((id) => {
|
||||||
initCapsLockWarning(/** @type {HTMLInputElement | null} */ (document.getElementById(id)))
|
initCapsLockWarning(/** @type {HTMLInputElement | null} */ (document.getElementById(id)));
|
||||||
);
|
});
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user