mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
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:
@@ -15,3 +15,6 @@
|
||||
transform: none;
|
||||
margin-left: -15.625rem;
|
||||
}
|
||||
.off-canvas-wrap .inner-wrap {
|
||||
max-height:100%;
|
||||
}
|
||||
Reference in New Issue
Block a user