From ca1848990dd9ef227d6dff2155aa8792bb4c8c81 Mon Sep 17 00:00:00 2001 From: Nicolas Coden Date: Wed, 11 Apr 2018 22:10:39 +0200 Subject: [PATCH] fix: reset all OffCanvas properties when in in-canvas mode > Done some research. The incanvas feature always used `inherit`, without explicit reasons given. Most font properties should inherit but not `background`, `width`, `overflow`, `transition` as this is not their default value. I'll replace all of them. See https://github.com/zurb/foundation-sites/pull/11141#discussion_r180879166 --- scss/components/_off-canvas.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scss/components/_off-canvas.scss b/scss/components/_off-canvas.scss index bbee8cb27f..120976517d 100644 --- a/scss/components/_off-canvas.scss +++ b/scss/components/_off-canvas.scss @@ -416,10 +416,10 @@ $breakpoint: small visibility: visible; height: auto; position: static; - background: inherit; + background: none; width: auto; - overflow: inherit; - transition: inherit; + overflow: visible; + transition: none; // Increase CSS specificity &.position-left,