fixed bug with positioning of CodeMirror on the right panel

This commit is contained in:
coderaiser 2012-11-15 05:25:48 -05:00
parent d91c9953ee
commit 29e43707e0
2 changed files with 11 additions and 8 deletions

View file

@ -87,7 +87,10 @@ dom.js and util.js.
* CodeMirror upgraded to version 2.35.0.
* Fixed bug with keys panel and fm bottom margin.
* Fixed bug with keys panel and fm bottom margin,
when CodeMirror is open on the right panel.
* Fixed bug with positioning of CodeMirror on the right panel.
2012.10.01, Version 0.1.7

View file

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