mirror of
https://github.com/documize/community.git
synced 2025-08-07 22:45:24 +02:00
fixed height issue for markdown preview window
This commit is contained in:
parent
b56b82a80f
commit
b840236cb5
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ export default Ember.Component.extend({
|
|||
|
||||
didInsertElement() {
|
||||
let height = $(document).height() - $(".document-editor > .toolbar").height() - 130;
|
||||
$("#markdown-editor, #markdown-preview").css("height", height);
|
||||
$("#markdown-editor").css("height", height);
|
||||
|
||||
this.renderPreview();
|
||||
let self = this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue