From 9cdc39154aae4e5ad89a76914bc228010b4a8108 Mon Sep 17 00:00:00 2001 From: Benaiah Mischenko Date: Wed, 26 Apr 2017 12:23:37 -0700 Subject: [PATCH] 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. --- .../Widgets/MarkdownControlElements/VisualEditor/index.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Widgets/MarkdownControlElements/VisualEditor/index.css b/src/components/Widgets/MarkdownControlElements/VisualEditor/index.css index 1087f899..83aa5548 100644 --- a/src/components/Widgets/MarkdownControlElements/VisualEditor/index.css +++ b/src/components/Widgets/MarkdownControlElements/VisualEditor/index.css @@ -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;