Skip to content

Commit

Permalink
Design: 전역에서 스크롤바 보이지 않도록 css 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaeYubin committed Nov 6, 2024
1 parent c4a24f5 commit a8ce8bf
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,17 @@
--chart-5: 27 87% 67%;
}

body {
@apply bg-background text-foreground;
}

* {
overscroll-behavior: none;
-ms-overflow-style: none; /* IE, Edge */
scrollbar-width: none; /* Firefox */
}
}

@layer base {
body {
@apply bg-background text-foreground;
*::-webkit-scrollbar {
display: none; /* Chrome, Safari */
}
}

0 comments on commit a8ce8bf

Please sign in to comment.