1
0
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:
xiez
2017-03-30 10:28:32 +08:00
committed by GitHub

View File

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