Commit 2206a379 authored by chenshouchao's avatar chenshouchao

feat: tooltip组件修改

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