From 0d6e33bdb1a8db5c23771b4e87bb05113413f640 Mon Sep 17 00:00:00 2001 From: Nicolas Coden Date: Sat, 24 Dec 2016 12:49:18 +0100 Subject: [PATCH] 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.
---
 scss/_global.scss | 5 +++++
 1 file changed, 5 insertions(+)

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;
-- 
2.47.2