Skip to content

Commit

Permalink
scroll bar removed
Browse files Browse the repository at this point in the history
  • Loading branch information
VinayLodhi1712 committed Oct 27, 2024
1 parent c4a4a64 commit f67aeba
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit f67aeba

Please sign in to comment.