From c952852d13c07ad3461a0ab4ed01dfe6660e428f Mon Sep 17 00:00:00 2001 From: Edouard Vanbelle Date: Mon, 15 Jun 2026 17:02:51 +0200 Subject: [PATCH] chore(front linter): fix warnings --- static/css/base/reset.css | 1 + static/js/features/auth/auth.js | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/static/css/base/reset.css b/static/css/base/reset.css index 8a579214..14a0d617 100644 --- a/static/css/base/reset.css +++ b/static/css/base/reset.css @@ -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); diff --git a/static/js/features/auth/auth.js b/static/js/features/auth/auth.js index a32c6661..da714d49 100644 --- a/static/js/features/auth/auth.js +++ b/static/js/features/auth/auth.js @@ -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; }