Fix walking caret bug

white-space css prop must be set to pre-wrap to keep trailing spaces
fixes #1766
This commit is contained in:
Marcel Klehr 2013-11-22 17:18:30 +01:00
parent 117a4ab1a8
commit 5d803a0523

View file

@ -75,7 +75,7 @@ body.grayedout { background-color: #eee !important }
}
body.doesWrap {
white-space: normal;
white-space: pre-wrap; /*Must be pre-wrap to keep trailing spaces. Otherwise you get a zombie caret, walking around your screen (see #1766) */
word-wrap: break-word; /* fix for issue #1648 - firefox not wrapping long lines (without spaces) correctly */
}