]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix off-canvas overflowing if it's longer than the main page content, THANKS TIM
authorGeoff Kimball <geoff@zurb.com>
Thu, 19 Nov 2015 20:35:14 +0000 (12:35 -0800)
committerGeoff Kimball <geoff@zurb.com>
Thu, 19 Nov 2015 20:35:14 +0000 (12:35 -0800)
scss/components/_off-canvas.scss

index 835a9b6e9d0794532d30530bcecc2c1c208fadfd..7288c7f7b9a499be8e22b950271dce26c57d6274 100644 (file)
@@ -97,7 +97,8 @@ $maincontent-shadow: 0 0 10px rgba($black, 0.5);
   position: absolute;
   background: $offcanvas-background;
   z-index: $offcanvas-zindex;
-  min-height: 100%;
+  max-height: 100%;
+  overflow-y: auto;
   transform: translateX(0px);
 }