Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyingRadish committed Feb 9, 2017
1 parent 8898a5c commit 7076aaf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/src/main/assets/markdownEditor/all.css
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ div.jGrowl div.jGrowl-closer {
}
.preview-container,
#preview-contents,
.wmd-preview-section {
.md-table {
overflow-x: auto; /*解决长表格无法滚动问题*/
}
.wmd-prompt-background {
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/assets/markdownEditor/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -14267,7 +14267,7 @@ define("libs/Markdown.Converter", function(){});

// build html
var cls = self.tableClass ? ' class="' + self.tableClass + '"' : '';
var html = ['<table', cls, '>\n', '<thead>\n', '<tr>\n'].join('');
var html = ['<div class="md-table"><table', cls, '>\n', '<thead>\n', '<tr>\n'].join('');

// build column headers.
for (i = 0; i < colCount; i++) {
Expand Down Expand Up @@ -14296,7 +14296,7 @@ define("libs/Markdown.Converter", function(){});
html += "</tr>\n";
}

html += "</table>\n";
html += "</table></div>\n";

// replace html with placeholder until postConversion step
return self.hashExtraBlock(html);
Expand Down

0 comments on commit 7076aaf

Please sign in to comment.