From f5810957b4204d06563485953e3efeb1392304c2 Mon Sep 17 00:00:00 2001 From: Pablo Saavedra Date: Thu, 2 Feb 2017 10:45:59 +0100 Subject: [PATCH] This WA is not longer required in the newest Chrome see comments in the issue: ether#2078 The hack is still necessary in Firefox 51 --- src/static/css/iframe_editor.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/static/css/iframe_editor.css b/src/static/css/iframe_editor.css index 9aa003aa..033eeb66 100644 --- a/src/static/css/iframe_editor.css +++ b/src/static/css/iframe_editor.css @@ -58,9 +58,11 @@ body.doesWrap { white-space: normal; } -body.doesWrap:not(.noprewrap) > div{ - /* Related to #1766 */ - white-space: pre-wrap; +@-moz-document url-prefix() { + body.doesWrap:not(.noprewrap) > div{ + /* Related to #1766 */ + white-space: pre-wrap; + } } #innerdocbody {