Skip to content

Commit

Permalink
Merge pull request #836 from mdkaifansari04/style/custom-tooltip
Browse files Browse the repository at this point in the history
Updated custom-tooltip style
  • Loading branch information
sudhanshutech authored Dec 5, 2024
2 parents 097c542 + 0c01b06 commit ad2f2e9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/custom/CustomTooltip/customTooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function CustomTooltip({
fontSize,
fontWeight = 400,
variant = 'standard',
bgColor = '#333333',
bgColor = '#141414',
...props
}: CustomTooltipProps): JSX.Element {
return (
Expand All @@ -35,8 +35,7 @@ function CustomTooltip({
fontWeight: { fontWeight },
borderRadius: '0.5rem',
padding: variant === 'standard' ? '0.9rem' : '0.5rem 0.75rem',
boxShadow:
'rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px'
boxShadow: 'rgba(0, 0, 0, 0.6) 0px 4px 10px, rgba(0, 0, 0, 0.5) 0px 2px 4px'
}
},
popper: {
Expand Down

0 comments on commit ad2f2e9

Please sign in to comment.