1
0
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:
llj
2017-03-30 10:20:40 +08:00
parent a2cc9115bc
commit d16fb0d4c0

View File

@@ -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>