mirror of
https://github.com/documize/community.git
synced 2025-08-08 06:55:28 +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() {
|
didInsertElement() {
|
||||||
let height = $(document).height() - $(".document-editor > .toolbar").height() - 130;
|
let height = $(document).height() - $(".document-editor > .toolbar").height() - 130;
|
||||||
$("#markdown-editor, #markdown-preview").css("height", height);
|
$("#markdown-editor").css("height", height);
|
||||||
|
|
||||||
this.renderPreview();
|
this.renderPreview();
|
||||||
let self = this;
|
let self = this;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue