Chore: remove hack

This commit is contained in:
tobiichi3227
2025-03-20 16:36:18 +08:00
committed by GitHub
parent 05378cc8be
commit 110cf63cf0

View File

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