From f02244412f11fa7bfacb491f02df8254c41ab88f Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Tue, 13 Mar 2012 12:13:47 -0600 Subject: [PATCH] Disable scrolling on the horizontal scroller when soft wrap is on. --- static/editor.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/static/editor.css b/static/editor.css index 74818ce50..8105a3aa9 100644 --- a/static/editor.css +++ b/static/editor.css @@ -12,10 +12,6 @@ -webkit-user-select: none; } -.editor.soft-wrap { - overflow-x: hidden; -} - .editor .content { display: -webkit-flexbox; } @@ -36,6 +32,10 @@ width: -webkit-flex(1); } +.editor.soft-wrap .horizontal-scroller { + overflow-x: hidden; +} + .editor .lines { position: relative; display: table;