From 98a7a589ccd1a0d15b2624e0d7ec7e3964714347 Mon Sep 17 00:00:00 2001 From: Timothy Pidashev Date: Sun, 3 Oct 2021 11:50:31 -0700 Subject: [PATCH] Update styles.css --- css/styles.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/css/styles.css b/css/styles.css index da62766..da5ea95 100644 --- a/css/styles.css +++ b/css/styles.css @@ -95,11 +95,14 @@ html { -ms-overflow-style: none; /* Hide scrollbar for Internet Explorer and Edge */ scrollbar-width: none; /* Hide scrollbar for Firefox */ scroll-behavior: smooth; + + overflow: scroll; + overflow-x: hidden; } /* Hide scrollbar for Chrome, Safari and Opera */ .html::-webkit-scrollbar { - display: none; + width: 0; background: transparent; /* Optional: just make scrollbar invisible */ }