Make CodeMirror honor TextareaRows

This commit is contained in:
Michal Čihař 2011-06-02 14:46:16 +02:00
parent 1a20d4e3a3
commit 3eb0f4cccb
2 changed files with 2 additions and 8 deletions

View File

@ -1779,10 +1779,7 @@ fieldset .disabled-field td {
}
.CodeMirror-scroll {
height: auto;
overflow-y: auto;
overflow-x: auto;
max-height: 30em;
height: <?php echo ceil($GLOBALS['cfg']['TextareaRows'] * 1.2); ?>em;
}
.CodeMirror-gutter {

View File

@ -2123,10 +2123,7 @@ fieldset .disabled-field td {
}
.CodeMirror-scroll {
height: auto;
overflow-y: auto;
overflow-x: auto;
max-height: 30em;
height: <?php echo ceil($GLOBALS['cfg']['TextareaRows'] * 1.2); ?>em;
}
.CodeMirror-gutter {