From 95ff6b702f4c4c371a8fa7521487cab3883fbd36 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Thu, 7 Apr 2022 21:18:32 +0500 Subject: [PATCH] fix nav drawer layout shifts on mobile --- themes/lumbung-theme/static/css/main.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/themes/lumbung-theme/static/css/main.css b/themes/lumbung-theme/static/css/main.css index 94c7edf..4677353 100644 --- a/themes/lumbung-theme/static/css/main.css +++ b/themes/lumbung-theme/static/css/main.css @@ -885,13 +885,17 @@ footer a:hover { z-index: 3; } + .hamburger.opened { + position: fixed; + } + .drawer { display: block; position: fixed; background: white; top: 0; left: 0; - height: 100vh; + height: 110vh; width: 0; z-index: 2; transition: 0.2s all ease-in-out;