From: Nicolas Coden Date: Sat, 24 Dec 2016 11:49:18 +0000 (+0100) Subject: Fix #9565 - prevent `
` overflow
X-Git-Tag: v6.3.1-rc1~24^2
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9566%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git

Fix #9565 - prevent `
` overflow

Fix: https://github.com/zurb/foundation-sites/issues/9565

There is no case where we would expect the pre content to overflow.
---

diff --git a/scss/_global.scss b/scss/_global.scss
index 91c598644..056e96987 100644
--- a/scss/_global.scss
+++ b/scss/_global.scss
@@ -196,6 +196,11 @@ $alert-color: get-color(alert);
     line-height: 1;
   }
 
+  // Prevent text overflow on pre
+  pre {
+    overflow: auto;
+  }
+
   // Internal classes to show/hide elements in JavaScript
   .is-visible {
     display: block !important;