mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-15 07:31:33 +00:00
markdown 不能预览问题
This commit is contained in:
@@ -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) {
|
||||
|
@@ -1991,9 +1991,13 @@ img::selection {
|
||||
}
|
||||
#right-column {
|
||||
left: 0 !important;
|
||||
right: 0;
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
.preview-container {
|
||||
left: 10px;
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user