minor tweaks
This commit is contained in:
parent
77cabfd9c8
commit
6e236468a8
2 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue