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`);