Skip to content

Commit

Permalink
update: hide visible scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelonah committed Jan 17, 2025
1 parent 1876af1 commit 7f25f72
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 7f25f72

Please sign in to comment.