mirror of
https://github.com/dataease/dataease.git
synced 2026-05-23 13:58:26 +08:00
@@ -137,14 +137,20 @@ export function getTheme(chart: Chart) {
|
|||||||
},
|
},
|
||||||
'g2-tooltip-list-item': {
|
'g2-tooltip-list-item': {
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
'align-items': 'center'
|
'align-items': 'flex-start',
|
||||||
|
'line-height': tooltipFontsize + 'px'
|
||||||
},
|
},
|
||||||
'g2-tooltip-name': {
|
'g2-tooltip-name': {
|
||||||
display: 'inline-block',
|
display: 'inline-block',
|
||||||
'line-height': tooltipFontsize + 'px',
|
'line-height': tooltipFontsize + 'px',
|
||||||
flex: 1
|
flex: 1
|
||||||
},
|
},
|
||||||
|
'g2-tooltip-value': {
|
||||||
|
display: 'inline-block',
|
||||||
|
'line-height': tooltipFontsize + 'px'
|
||||||
|
},
|
||||||
'g2-tooltip-marker': {
|
'g2-tooltip-marker': {
|
||||||
|
'margin-top': (tooltipFontsize - 8) / 2 + 'px',
|
||||||
'min-width': '8px',
|
'min-width': '8px',
|
||||||
'min-height': '8px'
|
'min-height': '8px'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user