diff --git a/fortune_generator/json/commit_hash.json b/fortune_generator/json/commit_hash.json index b179fd1..0e64ee0 100644 --- a/fortune_generator/json/commit_hash.json +++ b/fortune_generator/json/commit_hash.json @@ -1 +1 @@ -{ "commit_hash": "ea18eb8057b6d7ab8feefd88b5f973f902ac52fa" } +{ "commit_hash": "4eb9212a23eafc57606c9150f2a52c5e45b149ba" } diff --git a/scripts.js b/scripts.js index fbd0d42..bf35e97 100644 --- a/scripts.js +++ b/scripts.js @@ -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`);