Prevent long code lines from breaking visual entry editor

Previously, long lines of preformatted text would cause the lines to
run off the side of the ProseMirror edit box and give the entire entry
editor a scrollbar. This commit makes the edit box itself scroll,
which looks and feels much less broken.
This commit is contained in:
Benaiah Mischenko 2017-04-26 12:23:37 -07:00
parent 978fd0f0fc
commit 9cdc39154a

View File

@ -69,6 +69,7 @@
background-color: var(--controlBGColor);
padding: 12px;
border-radius: 0 0 var(--borderRadius) var(--borderRadius);
overflow-x: auto;
& ul {
padding-left: 20px;