Skip to content

Commit

Permalink
fix: use dvh
Browse files Browse the repository at this point in the history
  • Loading branch information
veryCrunchy committed Jul 2, 2024
1 parent 72c5601 commit 78d9913
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,9 @@
</script>

<template>
<div class="grain fixed pointer-events-none"></div>
<div class="grain fixed size-100% pointer-events-none"></div>

<div class="fixed w-100% h-100% z-10 pointer-events-none">
<div class="fixed size-100% z-10 pointer-events-none">
<div
ref="cursorSmall"
id="cursorSmall"
Expand All @@ -227,12 +227,12 @@
</div>
</div>
<div class="fixed w-100% h-100% z--1 pointer-events-none">
<div class="fixed size-100% z--1 pointer-events-none">
<div ref="cursor" id="cursor"></div>
</div>
<main
ref="main"
class="flex px-10 text-center justify-center flex-col space-y-20 items-center min-h-100vh py-10 opacity-0 transition-opacity-500"
class="flex px-10 text-center justify-center flex-col space-y-20 items-center min-h-100dvh py-10 opacity-0 transition-opacity-500"
>
<h2
hs-size="93vw"
Expand Down

0 comments on commit 78d9913

Please sign in to comment.