Skip to content

Commit 377a5ac

Browse files
committed
fix: Unclickable social icons
This makes the hiding animation worse, as opacity isn't transitioned anymore, this is unfortunately due to an issue where the wave overlaps other page content during the transition
1 parent 0db3580 commit 377a5ac

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

src/routes/+page.svelte

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,13 @@
142142
</div>
143143

144144
<style lang="scss">
145-
.hide-on-scroll {
146-
transition: opacity 0.5s var(--bezier-one);
147-
z-index: -999;
148-
149-
&.hidden {
150-
height: 0;
151-
opacity: 0;
152-
}
145+
.hide-on-scroll.hidden {
146+
z-index: -2;
147+
height: 0;
148+
opacity: 0;
149+
overflow: hidden;
153150
}
151+
154152
main {
155153
padding-block: 2rem;
156154
display: flex;

0 commit comments

Comments
 (0)