File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
import { Tooltip , type TooltipProps } from '@mui/material' ;
2
2
import React from 'react' ;
3
- import { CHARCOAL , WHITE } from '../../theme' ;
3
+ import { WHITE } from '../../theme' ;
4
4
import { RenderMarkdownTooltip } from '../Markdown' ;
5
5
6
6
type CustomTooltipProps = {
@@ -21,7 +21,7 @@ function CustomTooltip({
21
21
fontSize,
22
22
fontWeight = 400 ,
23
23
variant = 'standard' ,
24
- bgColor = CHARCOAL ,
24
+ bgColor = '#333333' ,
25
25
...props
26
26
} : CustomTooltipProps ) : JSX . Element {
27
27
return (
@@ -42,6 +42,11 @@ function CustomTooltip({
42
42
zIndex : 9999999999 ,
43
43
opacity : '1'
44
44
}
45
+ } ,
46
+ arrow : {
47
+ sx : {
48
+ color : bgColor
49
+ }
45
50
}
46
51
} }
47
52
title = { typeof title === 'string' ? < RenderMarkdownTooltip content = { title } /> : title }
You can’t perform that action at this time.
0 commit comments