fix: align generator item #69

Merged
tobiichi3227 merged 2 commits from tobiichi3227-patch-4 into main 2025-03-20 08:36:55 +00:00

View File

@@ -60,3 +60,8 @@ darkModeIcon.onclick = () => {
darkModeIcon.classList.toggle("bx-sun");
document.body.classList.toggle("dark-mode");
};
// 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`);