fhem_codemirror.js: fix window size (by MarcelK, forum #20444)
git-svn-id: https://svn.fhem.de/fhem/trunk@5603 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -63,8 +63,7 @@ cm_wait()
|
||||
if(ltype) {
|
||||
$("head").append(
|
||||
'<style type="text/css">'+
|
||||
'.CodeMirror {height: auto;}'+
|
||||
'.CodeMirror-scroll {overflow-y: hidden; overflow-x: auto;}'+
|
||||
'.CodeMirror {height: ' + (window.innerHeight - 150) + 'px;}'+
|
||||
'</style>');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user