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.
This commit is contained in:
Steve Roberts
2020-07-08 21:31:52 +10:00
parent a763a5ee0b
commit 2f562809c0

View File

@@ -15,3 +15,6 @@
transform: none;
margin-left: -15.625rem;
}
.off-canvas-wrap .inner-wrap {
max-height:100%;
}