From aa12fae1750f53fdaeae735188b1e61605ec9c8a Mon Sep 17 00:00:00 2001 From: zqran Date: Sun, 11 Sep 2022 00:02:44 +0800 Subject: [PATCH] [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 --- beta/src/styles/index.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/beta/src/styles/index.css b/beta/src/styles/index.css index a934e1b2..2d71ed71 100644 --- a/beta/src/styles/index.css +++ b/beta/src/styles/index.css @@ -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 {