From 23abafb3cb61d8948a2392aa4beccff9e02e875d Mon Sep 17 00:00:00 2001 From: Sahil Amoli Date: Wed, 20 Mar 2013 15:39:10 -0700 Subject: [PATCH] Issue #1648 - Long lines without any spaces don't wrap on Firefox, the text ends up going off screen --- src/static/css/iframe_editor.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/static/css/iframe_editor.css b/src/static/css/iframe_editor.css index 3e19cbbe..1d9b61be 100644 --- a/src/static/css/iframe_editor.css +++ b/src/static/css/iframe_editor.css @@ -78,6 +78,7 @@ ul.list-indent8 { list-style-type: none; } body { margin: 0; white-space: nowrap; + word-wrap: normal; } #outerdocbody { @@ -93,6 +94,7 @@ body.grayedout { background-color: #eee !important } body.doesWrap { white-space: normal; + word-wrap: break-word; /* fix for issue #1648 - firefox not wrapping long lines (without spaces) correctly */ } #innerdocbody {