Skip to content

Commit

Permalink
chore: Remove commented out script tag in ProjectModal.astro
Browse files Browse the repository at this point in the history
  • Loading branch information
dnachavez committed May 21, 2024
1 parent 5e39d2d commit 0a735e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ProjectModal.astro
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,12 @@ const {
</button>
</div>
</div>
<!-- <script>
<script>
const $modals = document.querySelectorAll(".modal");
$modals.forEach((modal) => {
const modalHeight = modal.clientHeight;
const modalCardHeight = modal.firstElementChild.clientHeight;

if (modalCardHeight > modalHeight) modal.style.overflow = "scroll";
});
</script> -->
</script>

0 comments on commit 0a735e6

Please sign in to comment.