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 */ }