Skip to content

Commit edb7439

Browse files
committed
refactor: update PopoverPopup classes
1 parent 7f49592 commit edb7439

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

packages/tailwind/src/popover.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ function PopoverPopup({ className, ...props }: PopoverPopupProps) {
4242
return (
4343
<PRPopover.Popup
4444
className={cn(
45-
'relative bg-surface-0 dark:bg-surface-900 rounded-lg border border-surface-200 dark:border-surface-700 shadow-md origin-(--transform-origin) opacity-50 data-open:opacity-100 scale-[0.93] data-open:scale-100 transition-[opacity,scale] duration-150 ease-out will-change-[transform,opacity]',
45+
`relative bg-surface-0 dark:bg-surface-900 rounded-lg border border-surface-200 dark:border-surface-700 shadow-md origin-(--transform-origin)
46+
data-enter-from:opacity-0 data-enter-from:scale-[0.93]
47+
data-leave-to:opacity-0 data-leave-to:scale-[0.93]
48+
transition-[opacity_scale] duration-200 ease-out
49+
`,
4650
className
4751
)}
4852
{...props}

0 commit comments

Comments
 (0)