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