From 09a09e8ac221d14730e3748454ae170ddd4c85f4 Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Wed, 21 Apr 2010 16:27:23 +0200 Subject: [PATCH] better CSS class handling --- css/editor.css | 4 ++-- demo/editor.html | 6 +++--- src/ScrollBar.js | 2 +- src/VirtualRenderer.js | 6 +++--- src/ace.js | 25 +++++++++++++++++++++++++ 5 files changed, 34 insertions(+), 9 deletions(-) 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 @@ - + @@ -108,7 +108,7 @@ for (var i=0; i