Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b200b7c

Browse files
committed
Add overflow-x-hidden
1 parent 10aa360 commit b200b7c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/pages/_document.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class MyDocument extends Document {
5656
></script>
5757
<script src="https://unpkg.com/phosphor-icons" defer></script>
5858
</Head>
59-
<body className="bg-gray-50 overflow-x-hidden">
59+
<body className="bg-gray-50">
6060
<Main />
6161
<NextScript />
6262
</body>

src/styles/globals.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
html,
2+
body {
3+
max-width: 100%;
4+
overflow-x: hidden;
5+
}
6+
17
.bar-of-progress::after {
28
content: '';
39
display: block;

0 commit comments

Comments
 (0)