From f67aeba14698e0f96363de3096a5f958c0998b29 Mon Sep 17 00:00:00 2001 From: Vinay Anand Lodhi Date: Mon, 28 Oct 2024 01:24:32 +0530 Subject: [PATCH] scroll bar removed --- src/app/globals.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/app/globals.css b/src/app/globals.css index 3c41ccc..ab2a6da 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -105,3 +105,16 @@ a { text-decoration: none; -webkit-tap-highlight-color: transparent; } + +/* globals.css */ +html, body { + overflow: hidden; /* Hide overflow initially */ + overflow-y: scroll; /* Enable vertical scrolling */ + scrollbar-width: none; /* Firefox */ + -ms-overflow-style: none; /* IE 10+ */ +} + +/* Hide scrollbar for Chrome, Safari, and Edge */ +html::-webkit-scrollbar, body::-webkit-scrollbar { + display: none; +}