mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-25 14:50:29 +00:00
Merge pull request #1529 from haiwen/file-edit-fix
[file edit] text edit: fixed cursor height bug
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
{% if filetype == 'Text' %}
|
{% if filetype == 'Text' %}
|
||||||
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}codemirror/codemirror.css" />
|
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}codemirror/codemirror.css" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
|
.CodeMirror pre.CodeMirror-cursor { overflow:hidden; } /* for chrome */
|
||||||
.CodeMirror-focused pre.CodeMirror-cursor { visibility: visible; }
|
.CodeMirror-focused pre.CodeMirror-cursor { visibility: visible; }
|
||||||
.CodeMirror-scroll { height:auto; min-height:700px; }
|
.CodeMirror-scroll { height:auto; min-height:700px; }
|
||||||
</style>
|
</style>
|
||||||
|
Reference in New Issue
Block a user