Skip to content
This repository was archived by the owner on Aug 21, 2024. It is now read-only.

Commit 62e9a26

Browse files
committed
Merge branch 'dev' into michael/IR-3754_hidden_delete
* dev: fix tooltip css applied to all popups (#10938)
2 parents 9d5ad00 + 1178168 commit 62e9a26

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

β€Žpackages/ui/src/primitives/tailwind/Tooltip/index.tsxβ€Ž

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ const Tooltip = ({ title, titleClassName, content, children, className, ...rest
4444
keepTooltipInside
4545
repositionOnResize
4646
arrow={false}
47+
contentStyle={{
48+
animation: 'expandFromCenter 0.3s cubic-bezier(0.38, 0.1, 0.36, 0.9) forwards',
49+
transformOrigin: 'center'
50+
}}
4751
{...rest}
4852
>
4953
<div className="-mt-1 grid text-wrap shadow-lg transition-all">

β€Žpackages/ui/src/primitives/tailwind/Tooltip/tooltip.cssβ€Ž

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,3 @@
1212
opacity: 1;
1313
}
1414
}
15-
16-
.popup-content {
17-
animation: expandFromCenter 0.3s cubic-bezier(0.38, 0.1, 0.36, 0.9) forwards;
18-
-webkit-animation: expandFromCenter 0.3s cubic-bezier(0.38, 0.1, 0.36, 0.9) forwards;
19-
transform-origin: center;
20-
}

0 commit comments

Comments
Β (0)