From 1d0073cef9a0f4787fcb95d81da54130cc2b6aab Mon Sep 17 00:00:00 2001 From: Shubham Dhama Date: Thu, 28 Sep 2017 14:24:25 +0530 Subject: [PATCH] /help/: Fix mobile scrollbar appearing incorrectly. For <1000px (aka the mobile view), we need to set "overflow: hidden" on the sidebar unless the sidebar is actually expanded. Fixes: #6730. --- static/styles/portico.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/styles/portico.css b/static/styles/portico.css index 282da6fc16..2dd3d71359 100644 --- a/static/styles/portico.css +++ b/static/styles/portico.css @@ -1343,13 +1343,14 @@ input.new-organization-button { padding-right: 80px; transform: translateX(0); transition: all 0.3s ease; - + overflow: hidden; height: 100vh; } .app.help .sidebar.show { padding-right: 20px; transform: translateX(280px); + overflow: auto !important; } .app.help .sidebar.show + .hamburger {