Skip to content

Commit aa12fae

Browse files
zqrangaearon
andauthored
[Beta] Fix navigation sticky failure (#5032)
* [Beta] Fix navigation sticky failure * [Beta] Remove overflow-x from body * [Beta] Update the max-with * Update index.css Co-authored-by: dan <dan.abramov@gmail.com>
1 parent dfce03c commit aa12fae

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

beta/src/styles/index.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@
7676
margin: 0;
7777
}
7878

79+
@media screen and (max-width: 1023px) {
80+
body {
81+
overflow-x: hidden;
82+
}
83+
}
84+
7985
/* Start purging... */
8086
/* Force GPU Accelerated scrolling, credit: Twitter Lite */
8187
.scrolling-gpu {

0 commit comments

Comments
 (0)