Commit 4a3681bb authored by chenshouchao's avatar chenshouchao

fix: 解决报错

parent 7f24ec05
......@@ -21,7 +21,6 @@ const theme = createTheme({
tooltip: {
backgroundColor: "rgba(7, 19, 38, .8)",
color: "#fff",
padding: "0px",
},
arrow: {
"&:before": {
......@@ -41,7 +40,12 @@ const MyTooltip = (props: IMyTooltipProps) => {
if (title) {
return (
<div
style={{ maxHeight: "36vh", overflow: "overlay", padding: "4px 8px" }}
style={{
maxHeight: "36vh",
overflow: "overlay",
padding: "4px 16px",
margin: "0px -8px",
}}
>
{title}
</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