Skip to content

Commit

Permalink
Prevent long code lines from breaking visual entry editor
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Benaiah committed Apr 26, 2017
1 parent 978fd0f commit 9cdc391
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9cdc391

Please sign in to comment.