Skip to content

Commit c184be0

Browse files
authored
Merge pull request refactory-id#269 from AugierLe42e/patch-3
Change preview content height setting
2 parents ac6b63e + 14a21c3 commit c184be0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

js/bootstrap-markdown.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -580,8 +580,9 @@
580580

581581
// Set the preview element dimensions
582582
replacementContainer.css({
583-
width: container.outerWidth() + 'px',
584-
height: container.outerHeight() + 'px'
583+
"width": container.outerWidth() + 'px',
584+
"min-height": container.outerHeight() + 'px',
585+
"height": "auto"
585586
});
586587

587588
if (this.$options.resize) {

0 commit comments

Comments
 (0)