From 64533b55dcdee98945a7aae4451c1633d165127b Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sun, 24 Apr 2022 20:12:30 -0500 Subject: [PATCH] Fix Particles causing scroll issues --- src/features/links/Links.vue | 8 ++++---- src/features/particles/Particles.vue | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/features/links/Links.vue b/src/features/links/Links.vue index a5877b5..62b774f 100644 --- a/src/features/links/Links.vue +++ b/src/features/links/Links.vue @@ -64,10 +64,10 @@ const validLinks = computed(() => { .resize-listener, svg { position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; + top: 5px; + left: 5px; + right: 5px; + bottom: 5px; z-index: -10; pointer-events: none; } diff --git a/src/features/particles/Particles.vue b/src/features/particles/Particles.vue index 0050545..4b6c41e 100644 --- a/src/features/particles/Particles.vue +++ b/src/features/particles/Particles.vue @@ -102,10 +102,10 @@ export default defineComponent({ .not-fullscreen, .resize-listener { position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; + top: 5px; + left: 5px; + right: 5px; + bottom: 5px; pointer-events: none; }