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:
parent
117a4ab1a8
commit
5d803a0523
|
@ -75,7 +75,7 @@ body.grayedout { background-color: #eee !important }
|
||||||
}
|
}
|
||||||
|
|
||||||
body.doesWrap {
|
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 */
|
word-wrap: break-word; /* fix for issue #1648 - firefox not wrapping long lines (without spaces) correctly */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue