Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_texteditor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--css/style.css7
-rw-r--r--js/editor.js8
2 files changed, 8 insertions, 7 deletions
diff --git a/css/style.css b/css/style.css
index 16d9458..2722469 100644
--- a/css/style.css
+++ b/css/style.css
@@ -1,10 +1,11 @@
#editor{
position: absoloute;
- height: 0;
- width: 0;
+ display: block;
+ padding-top: 40px
+/*
top: 41px;
left: 160px;
- z-index: -1;
+*/
}
#editorwrapper{
position: absoloute;
diff --git a/js/editor.js b/js/editor.js
index 8143237..1dd4b5d 100644
--- a/js/editor.js
+++ b/js/editor.js
@@ -1,9 +1,9 @@
function setEditorSize(){
// Sets the size of the text editor window.
//$('#editor').css('height', $(window).height()-81);
- $('#editor').css('height', $(window).height()-121);
- $('#editor').css('width', $(window).width()-160);
- $('#editor').css('padding-top', '40px');
+ //$('#editor').css('height', $(window).height()-121);
+ fillHeight($('#editor'));
+ //$('#editor').css('width', $(window).width()-160);
}
function getFileExtension(file){
@@ -137,11 +137,11 @@ function showFileEditor(dir,filename){
});
});
bindControlEvents();
+ setEditorSize();
// End success
}
// End ajax
});
- setEditorSize();
}
function hideFileEditor(){