From 6c816bab94caacb994cc9d2362ec66eb6cef8bce Mon Sep 17 00:00:00 2001 From: s1to Date: Sat, 11 Jul 2026 15:09:23 +0200 Subject: [PATCH] Fix vertical scroll on mobile --- src/client/assets/styles/mobile.css | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/client/assets/styles/mobile.css b/src/client/assets/styles/mobile.css index 54b1797..206d94f 100644 --- a/src/client/assets/styles/mobile.css +++ b/src/client/assets/styles/mobile.css @@ -1,7 +1,9 @@ html { -webkit-text-size-adjust: 100%; box-sizing: border-box; - overflow-x: hidden !important; + overflow-x: clip !important; + overflow-y: visible !important; + height: auto !important; } *, *::before, *::after { @@ -10,7 +12,8 @@ html { body { font-size: 15px; - overflow-x: hidden; + overflow-x: clip !important; + overflow-y: visible !important; max-width: 100vw; } @@ -953,7 +956,7 @@ a.create-button { display: flex !important; align-items: center !important; justify-content: center !important; } -body { padding-bottom: 64px !important; } +body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important; } .oasis-mobile-topbar { display: flex !important; @@ -1105,6 +1108,13 @@ a, button, label, .tap, .oasis-menu-btn, .bb-item, .oasis-nav-header, .oasis-nav } body { overscroll-behavior: none !important; } +.main-content, .main-column, .header, +.sidebar-left, .sidebar-right { overflow: visible !important; } + +.sidebar-left, .sidebar-right { display: none !important; } +#nav-left-toggle:checked ~ .main-content .sidebar-left { display: block !important; } +#nav-right-toggle:checked ~ .main-content .sidebar-right { display: block !important; } + .header .top-bar-left nav, .header .top-bar-right nav { display: none !important; }