Skip to content

Commit

Permalink
fix: inline style
Browse files Browse the repository at this point in the history
  • Loading branch information
yanglbme committed Oct 28, 2021
1 parent 55c9bc2 commit f0a4593
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/assets/scripts/renderers/wx-renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ class WxRenderer {
"font-family": this.opts.fonts,
"font-size": this.opts.size,
});
let base_block = merge(base, {});
for (let ele in themeTpl.inline) {
if (themeTpl.inline.hasOwnProperty(ele)) {
let style = themeTpl.inline[ele];
mapping[ele] = merge(base, style);
mapping[ele] = merge(themeTpl.BASE, style);
}
}

let base_block = merge(base, {});
for (let ele in themeTpl.block) {
if (themeTpl.block.hasOwnProperty(ele)) {
let style = themeTpl.block[ele];
Expand Down

0 comments on commit f0a4593

Please sign in to comment.