@@ -15,8 +15,6 @@ import { scaleOrdinal } from "d3-scale";
1515
1616import { Stack , useTheme , Box , Alert , Skeleton } from "@mui/material" ;
1717
18- import "./Chart.css" ;
19-
2018import type { SunburstTree , SunburstNode } from "../../../types" ;
2119import { DisplayPath , getPath , sizeToText as defaultSizeToText } from "./Utils" ;
2220
@@ -128,9 +126,16 @@ export function Sunburst({
128126 // Create the tooltip
129127 const tooltip = select ( tooltipRef . current )
130128 . append ( "div" )
131- . attr ( "class" , "tooltip" )
132129 . style ( "position" , "absolute" )
133130 . style ( "visibility" , "hidden" )
131+ . style ( "border-radius" , "4px" )
132+ . style ( "padding" , "10px" )
133+ . style ( "background-color" , "rgba(230, 230, 230, 0.7)" )
134+ . style ( "color" , "black" )
135+ . style ( "pointer-events" , "none" )
136+ . style ( "z-index" , "99" )
137+ . style ( "-webkit-box-shadow" , "7px 7px 10px 4px rgba(0, 0, 0, 0.53)" )
138+ . style ( "box-shadow" , "7px 7px 10px 4px rgba(0, 0, 0, 0.53)" )
134139 . text ( "" ) ;
135140
136141 // Remove any previous elements
0 commit comments