refactory-id / bootstrap-markdown

Bootstrap plugin for markdown editing
Apache License 2.0
1.99k stars 370 forks source link

Change preview content height setting #269

Closed ghost closed 7 years ago

ghost commented 7 years ago

Sets min-height rather than height and sets height to auto. This improves the preview look. Container will then never be smaller than textarea but will still adapt to the preview content height. Currently, as the height is hardwired, if the preview content is higher than the textarea, a scrollbar appears.

toopay commented 7 years ago

Thanks @AugierLe42e