mirror of
https://github.com/doocs/md.git
synced 2025-02-02 19:27:46 +08:00
fix: inline style
This commit is contained in:
parent
55c9bc2c96
commit
f0a45933c7
@ -19,14 +19,14 @@ class WxRenderer {
|
|||||||
"font-family": this.opts.fonts,
|
"font-family": this.opts.fonts,
|
||||||
"font-size": this.opts.size,
|
"font-size": this.opts.size,
|
||||||
});
|
});
|
||||||
let base_block = merge(base, {});
|
|
||||||
for (let ele in themeTpl.inline) {
|
for (let ele in themeTpl.inline) {
|
||||||
if (themeTpl.inline.hasOwnProperty(ele)) {
|
if (themeTpl.inline.hasOwnProperty(ele)) {
|
||||||
let style = themeTpl.inline[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) {
|
for (let ele in themeTpl.block) {
|
||||||
if (themeTpl.block.hasOwnProperty(ele)) {
|
if (themeTpl.block.hasOwnProperty(ele)) {
|
||||||
let style = themeTpl.block[ele];
|
let style = themeTpl.block[ele];
|
||||||
|
Loading…
Reference in New Issue
Block a user