minor tweaks

This commit is contained in:
Fabian Jakobs 2010-04-07 15:06:45 +02:00
commit 6e236468a8
2 changed files with 3 additions and 3 deletions

View file

@ -194,7 +194,7 @@ Editor.prototype =
}; };
capture(this.container, onMouseSelection, onMouseSelectionEnd); capture(this.container, onMouseSelection, onMouseSelectionEnd);
var timerId = setInterval(onSelectionInterval, 20); var timerId = setInterval(onSelectionInterval, 20 );
return preventDefault(e); return preventDefault(e);
}, },

View file

@ -1,7 +1,7 @@
.editor { .editor {
position: absolute; position: absolute;
border: 1px solid black; border: 1px solid black;
overflow-x: auto; overflow-x: scroll;
overflow-y: hidden; overflow-y: hidden;
} }
@ -28,7 +28,7 @@
.cursor { .cursor {
position: absolute; position: absolute;
width: 1px; width: 2px;
background: black; background: black;
} }