From 2f562809c090ac09394e49b3648151c6ca0e9abb Mon Sep 17 00:00:00 2001 From: Steve Roberts Date: Wed, 8 Jul 2020 21:31:52 +1000 Subject: [PATCH] Ensure the hero image doesn't attempt to use the full height of all page content Not sure exactly why this happens, but when the mobile nav is opened the hero image at #tagline:before uses the height of the full window - often around 4000px. Adding max-height of 100% to the nearest safe parent prevents this behaviour. --- app/assets/stylesheets/darkswarm/layout/offcanvas.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/assets/stylesheets/darkswarm/layout/offcanvas.scss b/app/assets/stylesheets/darkswarm/layout/offcanvas.scss index de54f0ef54..f6fe7a0455 100644 --- a/app/assets/stylesheets/darkswarm/layout/offcanvas.scss +++ b/app/assets/stylesheets/darkswarm/layout/offcanvas.scss @@ -15,3 +15,6 @@ transform: none; margin-left: -15.625rem; } +.off-canvas-wrap .inner-wrap { + max-height:100%; +} \ No newline at end of file