fix: filters panel broken due to tabs scroll (#30180)

This commit is contained in:
JUST.in DO IT 2024-09-11 16:30:34 -07:00 committed by GitHub
parent 88b698c092
commit be0a0ced25
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View File

@ -25,6 +25,8 @@ export function getDefaultTooltip(refs: Refs) {
return {
appendToBody: true,
borderColor: 'transparent',
// CSS hack applied on this class to resolve https://github.com/apache/superset/issues/30058
className: 'echarts-tooltip',
position: (
canvasMousePos: [number, number],
params: CallbackDataParams,

View File

@ -34,6 +34,11 @@ export const GlobalStyles = () => (
th {
font-weight: ${theme.typography.weights.bold};
}
// CSS hack to resolve the issue caused by the invisible echart tooltip on
// https://github.com/apache/superset/issues/30058
.echarts-tooltip[style*='visibility: hidden'] {
display: none !important;
}
// TODO: Remove when on Ant Design 5.
// Check src/components/Modal for more info.
.modal-functions-ok-button {