Skip to content

Commit 98b8a81

Browse files
committed
feat(Tooltip): add box shadow to Tooltip component
Signed-off-by: Sumitsh28 <sumit.off28@gmail.com>
1 parent b0fa866 commit 98b8a81

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/custom/CustomTooltip/customTooltip.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ function CustomTooltip({
3434
fontSize: fontSize || (variant === 'standard' ? '1rem' : '0.75rem'),
3535
fontWeight: { fontWeight },
3636
borderRadius: '0.5rem',
37-
padding: variant === 'standard' ? '0.9rem' : '0.5rem 0.75rem'
37+
padding: variant === 'standard' ? '0.9rem' : '0.5rem 0.75rem',
38+
boxShadow:
39+
'rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px'
3840
}
3941
},
4042
popper: {

0 commit comments

Comments
 (0)