Skip to content

Commit

Permalink
hr render
Browse files Browse the repository at this point in the history
  • Loading branch information
pengloo53 committed Apr 21, 2019
1 parent 96a34a9 commit 9a2961b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/assets/scripts/renderers/wx-renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@ var WxRenderer = function (opts) {
renderer.tablecell = function (text, flags) {
return '<td ' + S('td') + '>' + text + '</td>';
}
renderer.hr = function(){
return '<hr style="border-style: solid;border-width: 1px 0 0;border-color: rgba(0,0,0,0.1);-webkit-transform-origin: 0 0;-webkit-transform: scale(1, 0.5);transform-origin: 0 0;transform: scale(1, 0.5);">';
}
return renderer
}
}

0 comments on commit 9a2961b

Please sign in to comment.