Skip to content

Commit

Permalink
fix: filters panel broken due to tabs scroll (#30180)
Browse files Browse the repository at this point in the history
(cherry picked from commit be0a0ce)
  • Loading branch information
justinpark authored and sadpandajoe committed Sep 12, 2024
1 parent afd5379 commit d85fdf4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
5 changes: 5 additions & 0 deletions superset-frontend/src/GlobalStyles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d85fdf4

Please sign in to comment.