fix: align generator item (#69)
* fix: align generator item Close #26 * Chore: remove hack
This commit was merged in pull request #69.
This commit is contained in:
@@ -60,3 +60,8 @@ darkModeIcon.onclick = () => {
|
|||||||
darkModeIcon.classList.toggle("bx-sun");
|
darkModeIcon.classList.toggle("bx-sun");
|
||||||
document.body.classList.toggle("dark-mode");
|
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`);
|
||||||
|
|||||||
Reference in New Issue
Block a user