mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 19:42:56 +08:00
Merge pull request #13947 from dataease/pr@dev-v2@chart-table-fix
Some checks are pending
Typos Check / Spell Check with Typos (push) Waiting to run
Some checks are pending
Typos Check / Spell Check with Typos (push) Waiting to run
fix(图表): 修复表格类图表在没有配置整体字体时,配置字体大小无效的问题
This commit is contained in:
commit
978cee8ff6
@ -65,7 +65,7 @@ export function getCustomTheme(chart: Chart): S2Theme {
|
||||
)
|
||||
const scrollBarColor = DEFAULT_BASIC_STYLE.tableScrollBarColor
|
||||
const scrollBarHoverColor = resetRgbOpacity(scrollBarColor, 3)
|
||||
const textFontFamily = chart.fontFamily ? chart.fontFamily : FONT_FAMILY
|
||||
const textFontFamily = chart.fontFamily && chart.fontFamily !== 'inherit' ? chart.fontFamily : FONT_FAMILY
|
||||
const theme: S2Theme = {
|
||||
background: {
|
||||
color: '#00000000'
|
||||
|
Loading…
Reference in New Issue
Block a user