From e6e5fcb76c1e1114b50894ab81ffa0fcc97cb83c Mon Sep 17 00:00:00 2001 From: Niels Maes Date: Wed, 8 Oct 2025 17:17:24 +0200 Subject: [PATCH] fixed scrolling issues --- portfolio/src/style.css | 8 +- portfolio/src/views/About.vue | 122 ++++++++++++++++++-- portfolio/src/views/Home.vue | 207 +++++++++++++++++++++++++++++++--- 3 files changed, 313 insertions(+), 24 deletions(-) diff --git a/portfolio/src/style.css b/portfolio/src/style.css index ffa169c..509a874 100644 --- a/portfolio/src/style.css +++ b/portfolio/src/style.css @@ -16,19 +16,21 @@ } html { - height: 100%; width: 100%; scroll-behavior: smooth; + -webkit-text-size-adjust: 100%; /* Prevent iOS Safari text size adjustment */ } body { margin: 0; padding: 0; - height: 100%; width: 100%; min-height: 100vh; overflow-x: hidden; + overflow-y: auto; /* Ensure vertical scrolling */ + -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */ font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; + position: relative; /* Ensure proper stacking context */ } #app { @@ -36,6 +38,8 @@ body { min-height: 100vh; margin: 0; padding: 0; + overflow-x: hidden; + position: relative; } a { diff --git a/portfolio/src/views/About.vue b/portfolio/src/views/About.vue index 6fc4ed7..2e16fac 100644 --- a/portfolio/src/views/About.vue +++ b/portfolio/src/views/About.vue @@ -1,14 +1,19 @@ \ No newline at end of file