mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-22 15:39:34 +00:00
fixed bug with positioning of CodeMirror on the right panel
This commit is contained in:
parent
c0bd207325
commit
c28fc96464
2 changed files with 11 additions and 8 deletions
|
|
@ -71,15 +71,15 @@ var CloudCommander, Util, DOM, CloudFunc, CodeMirror;
|
|||
'font-family :\'Droid Sans Mono\';' +
|
||||
'font-size :15px;' +
|
||||
/* codemirror v3 */
|
||||
//'height : ' + cloudcmd.HEIGHT + 'px' +
|
||||
//'height : ' + cloudcmd.HEIGHT + 'px' +
|
||||
'}' +
|
||||
'.CodeMirror-scroll{' +
|
||||
'height : ' + (cloudcmd.HEIGHT) + 'px' +
|
||||
'}', //+
|
||||
/* codemirror v3 */
|
||||
//'#CodeMirrorEditor{' +
|
||||
// 'padding :20px 20px 20px 20px;' +
|
||||
// '}'
|
||||
'height : ' + cloudcmd.HEIGHT + 'px' +
|
||||
'}' +
|
||||
'#CodeMirrorEditor{' +
|
||||
'float: right' +
|
||||
// 'padding :20px 20px 20px 20px;' +
|
||||
'}',
|
||||
parent: document.head
|
||||
},
|
||||
lDir + 'codemirror.css',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue