From 110cf63cf07d5239138a404c0846095fe80ebe54 Mon Sep 17 00:00:00 2001 From: tobiichi3227 <86729076+tobiichi3227@users.noreply.github.com> Date: Thu, 20 Mar 2025 16:36:18 +0800 Subject: [PATCH] Chore: remove hack --- scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts.js b/scripts.js index 2c2c6d1..bf35e97 100644 --- a/scripts.js +++ b/scripts.js @@ -61,7 +61,7 @@ darkModeIcon.onclick = () => { document.body.classList.toggle("dark-mode"); }; -// HACK +// temporary let max_height = -1; document.querySelectorAll('.card-body').forEach(el => max_height = Math.max(max_height, el.offsetHeight)); document.querySelectorAll('.card-body').forEach(el => el.style.height = `${max_height}px`);