Commit 4a3681bb authored by chenshouchao's avatar chenshouchao

fix: 解决报错

parent 7f24ec05
...@@ -21,7 +21,6 @@ const theme = createTheme({ ...@@ -21,7 +21,6 @@ const theme = createTheme({
tooltip: { tooltip: {
backgroundColor: "rgba(7, 19, 38, .8)", backgroundColor: "rgba(7, 19, 38, .8)",
color: "#fff", color: "#fff",
padding: "0px",
}, },
arrow: { arrow: {
"&:before": { "&:before": {
...@@ -41,7 +40,12 @@ const MyTooltip = (props: IMyTooltipProps) => { ...@@ -41,7 +40,12 @@ const MyTooltip = (props: IMyTooltipProps) => {
if (title) { if (title) {
return ( return (
<div <div
style={{ maxHeight: "36vh", overflow: "overlay", padding: "4px 8px" }} style={{
maxHeight: "36vh",
overflow: "overlay",
padding: "4px 16px",
margin: "0px -8px",
}}
> >
{title} {title}
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment