1
0
Fork 0
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:
Harvey Kandola 2016-06-01 16:16:44 +01:00
parent b56b82a80f
commit b840236cb5

View file

@ -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;