From e02c7974c5ff1afa05908e399c3cfab8eb2dc13b Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Tue, 27 May 2025 09:47:17 -0400 Subject: [PATCH] Disable sidebar on mobile and fix responsive behavior Remove transform-based mobile sidebar in favor of complete hiding. Update breakpoints and remove unnecessary mobile touch handlers. --- kjvstudy_org/static/style.css | 19 ++++++++----------- kjvstudy_org/templates/base.html | 25 +++++++++++-------------- 2 files changed, 19 insertions(+), 25 deletions(-) diff --git a/kjvstudy_org/static/style.css b/kjvstudy_org/static/style.css index 0b216f5..06d3424 100644 --- a/kjvstudy_org/static/style.css +++ b/kjvstudy_org/static/style.css @@ -757,21 +757,20 @@ div { } .sidebar { - transform: translateX(-320px); - width: 100%; - max-width: 320px; - -webkit-transform: translate3d(-320px, 0, 0); + display: none !important; } .sidebar.open { - transform: translateX(0); - -webkit-transform: translate3d(0, 0, 0); - box-shadow: 4px 0 10px rgba(0, 0, 0, 0.2); + display: none !important; + } + + .sidebar-overlay { + display: none !important; } .main-content { margin-left: 0; - padding-top: 4rem; + padding-top: 2rem; position: relative; z-index: 10; width: 100%; @@ -780,9 +779,7 @@ div { .mobile-menu-button { display: block; padding: 1rem; - min-height: 48px; - min-width: 48px; - touch-action: manipulation; + min-heightone !important; } .container, diff --git a/kjvstudy_org/templates/base.html b/kjvstudy_org/templates/base.html index c1c4196..7371464 100644 --- a/kjvstudy_org/templates/base.html +++ b/kjvstudy_org/templates/base.html @@ -929,6 +929,11 @@