From 373de609139a301d5a5a1e29595031e34eedd0e3 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Sat, 22 Jun 2024 16:15:12 -0500 Subject: [PATCH] feat: disable scrolling past boundaries --- readme.md | 3 +-- styles/common.css | 2 +- styles/post.css | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index 608eca2..11c2423 100644 --- a/readme.md +++ b/readme.md @@ -5,5 +5,4 @@ My portfolio website ## todo - Mobile support -- Problem toggler -- stop overflow +- Improve post h3 styling diff --git a/styles/common.css b/styles/common.css index 72df91c..37f9fe5 100644 --- a/styles/common.css +++ b/styles/common.css @@ -29,7 +29,7 @@ html, body { font-family: "Signifier", serif; - overflow: hidden; + overscroll-behavior: none; margin: 0; padding: 0; height: 100%; diff --git a/styles/post.css b/styles/post.css index 47aebd6..abf9055 100644 --- a/styles/post.css +++ b/styles/post.css @@ -1,7 +1,6 @@ html, body { font-family: "Signifier", serif; - overflow: scroll; margin: 0; padding: 0; height: 100%;