mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
[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>
This commit is contained in:
@@ -76,6 +76,12 @@
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1023px) {
|
||||
body {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
/* Start purging... */
|
||||
/* Force GPU Accelerated scrolling, credit: Twitter Lite */
|
||||
.scrolling-gpu {
|
||||
|
||||
Reference in New Issue
Block a user