diff --git a/css/editor.css b/css/editor.css index 43746d93..a28f10f4 100644 --- a/css/editor.css +++ b/css/editor.css @@ -15,14 +15,14 @@ overflow-y: hidden; } -.editor .scrollbar { +.editor .sb { position: absolute; overflow-x: hidden; overflow-y: scroll; right: 0; } -.editor .scrollbar div { +.editor .sb div { position: absolute; width: 1px; left: -10px; diff --git a/demo/editor.html b/demo/editor.html index e93d2bee..425aebd9 100644 --- a/demo/editor.html +++ b/demo/editor.html @@ -96,7 +96,7 @@
+