2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-06-29 22:21:04 -06:00

Code style

This commit is contained in:
Nick Denry 2020-05-29 17:42:07 +03:00
parent 1fd1ee2a97
commit f85afc44e1

View File

@ -2261,7 +2261,7 @@ EasyMDE.prototype.createSideBySide = function () {
var paddingTop = parseInt(window.getComputedStyle(wrapper).paddingTop);
var borderTopWidth = parseInt(window.getComputedStyle(wrapper).borderTopWidth);
var minHeight = optionsMinHeight + paddingTop * 2 + borderTopWidth * 2;
preview.style.minHeight = minHeight.toString() + 'px';
preview.style.minHeight = minHeight.toString() + 'px';
if (this.options.previewClass) {