Skip to content

Commit

Permalink
Merge pull request #227 from VinayLodhi1712/feature/scrollbar
Browse files Browse the repository at this point in the history
scroll bar removed : #226 done
  • Loading branch information
ajaynegi45 authored Oct 29, 2024
2 parents 7afbe55 + f67aeba commit 72f0237
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 72f0237

Please sign in to comment.