Merge pull request #10477 from dataease/pr@dev@refactor_antv_tooltip_style

refactor(视图): 去除 AntV 提示右下角小白块
This commit is contained in:
wisonic-s 2024-06-24 18:07:18 +08:00 committed by GitHub
commit 002b293ca2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1214,7 +1214,7 @@ export function getTooltipContainer(id) {
g2Tooltip.classList.add('g2-tooltip') g2Tooltip.classList.add('g2-tooltip')
// 最多半屏,鼠标移入可滚动 // 最多半屏,鼠标移入可滚动
g2Tooltip.style.maxHeight = '50%' g2Tooltip.style.maxHeight = '50%'
g2Tooltip.style.overflow = 'scroll' g2Tooltip.style.overflowY = 'scroll'
g2Tooltip.style.display = 'none' g2Tooltip.style.display = 'none'
g2Tooltip.style.position = 'fixed' g2Tooltip.style.position = 'fixed'
g2Tooltip.style.left = '0px' g2Tooltip.style.left = '0px'