Commit 2206a379 authored by chenshouchao's avatar chenshouchao

feat: tooltip组件修改

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