Skip to content

Commit

Permalink
fix: mweb svg background color
Browse files Browse the repository at this point in the history
Change-Id: Ia926f973b2ba4d175c3e42be5457b464617ef142
  • Loading branch information
elonz committed Jun 30, 2021
1 parent 292444c commit f4d9e3b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/themes/core/mweb-base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -215,4 +215,10 @@ td {
font-weight: $td-font-weight;
}

/* svg */

div[id^="mweb-chart-ele"] svg {
background-color: white; // 目前暂时没找到替换 svg 各个元素的颜色的方法,统一先用白色
}

}
6 changes: 6 additions & 0 deletions src/themes/core/mweb-bear.scss
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,12 @@ caption, th, td {
vertical-align: middle
}

// svg

div[id^="mweb-chart-ele"] svg {
background-color: white; // 目前暂时没找到替换 svg 各个元素的颜色的方法,统一先用白色
}

// other

.footnotes > ol li {
Expand Down

0 comments on commit f4d9e3b

Please sign in to comment.