Skip to content

Commit 2a4518b

Browse files
authored
fix: adding a box shadow for the tooltip (#536)
* fix: adding a box shadow for the tooltip * fix: removing the units for 0
1 parent ca3dde4 commit 2a4518b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/experimental/Tooltip/Tooltip.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ interface TooltipProps {
1616

1717
const TooltipStyles = createGlobalStyle`
1818
.react-aria-Tooltip {
19-
box-shadow: 0 8px 20px rgba(0 0 0 / 0.1);
19+
20+
box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.20);
2021
border-radius: 4px;
2122
background: var(--wave-exp-color-inverse-surface);
2223
color: var(--wave-exp-color-inverse-on-surface);

0 commit comments

Comments
 (0)