We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e65bd46 commit 0295e04Copy full SHA for 0295e04
src/custom/TooltipIcon.tsx
@@ -20,21 +20,23 @@ export function TooltipIcon({
20
}: TooltipIconProps): JSX.Element {
21
return (
22
<CustomTooltip title={title} arrow={arrow}>
23
- <IconButton
24
- onClick={onClick}
25
- sx={{
26
- '&:hover': {
27
- '& svg': {
28
- fill: '#00d3a9'
+ <div>
+ <IconButton
+ onClick={onClick}
+ sx={{
+ '&:hover': {
+ '& svg': {
29
+ fill: '#00d3a9'
30
+ },
31
+ borderRadius: '4px'
32
},
- borderRadius: '4px'
- },
- ...(style as SxProps)
33
- }}
34
- disableRipple
35
- >
36
- {icon}
37
- </IconButton>
+ ...(style as SxProps)
+ }}
+ disableRipple
+ >
+ {icon}
38
+ </IconButton>
39
+ </div>
40
</CustomTooltip>
41
);
42
}
0 commit comments