diff --git a/public/js/app/page.js b/public/js/app/page.js index 429b34d1..459b0921 100644 --- a/public/js/app/page.js +++ b/public/js/app/page.js @@ -139,12 +139,12 @@ var Resize = { // 禁止split $t.removeClass('open');//.addClass('close'); self.rightColumn.find('.layout-resizer').removeClass('open'); - $('.preview-container').hide(); + // $('.preview-container').hide(); } else { $t.addClass('open'); self.rightColumn.find('.layout-resizer').addClass('open'); self.leftColumn.width(everLeftWidth); - $('.preview-container').show(); + // $('.preview-container').show(); self.rightColumn.css('left', everLeftWidth).width('auto'); if(MD) { diff --git a/public/themes/basic.less b/public/themes/basic.less index 7913873d..32128040 100644 --- a/public/themes/basic.less +++ b/public/themes/basic.less @@ -1991,9 +1991,13 @@ img::selection { } #right-column { left: 0 !important; + right: 0; + width: auto !important; } + .preview-container { left: 10px; + display: block !important; } } diff --git a/public/themes/default.css b/public/themes/default.css index d8bac923..792c2e8e 100644 --- a/public/themes/default.css +++ b/public/themes/default.css @@ -1943,9 +1943,12 @@ img::selection { } #mdEditor.read-only #right-column { left: 0 !important; + right: 0; + width: auto !important; } #mdEditor.read-only .preview-container { left: 10px; + display: block !important; } #notify { position: fixed;