Skip to content

Commit

Permalink
Merge pull request #6 from emmanuelonah/emmanuelonah/hide-scroll-bar
Browse files Browse the repository at this point in the history
update: hide visible scrollbar
  • Loading branch information
emmanuelonah authored Jan 17, 2025
2 parents 1876af1 + 7f25f72 commit b23cc4f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions client/src/design-system/global-styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,17 @@ const GlobalStyles = createGlobalStyle<Theme>`
box-sizing: border-box;
}
/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
html {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
html, body {
font-family: ${({ theme }) => theme.typography.fontFamilies.primary};
font-size: ${({ theme }) => theme.typography.bodyText.fontSize};
Expand Down

0 comments on commit b23cc4f

Please sign in to comment.