fix: prevent translation popup from being obscured by time display (#631)

This commit is contained in:
Hyden Liu 2024-09-25 17:35:26 +08:00 committed by GitHub
parent 667b1260d0
commit ea6fbc27e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ export const EntryTranslation: Component<{
<HoverCard.Portal>
<HoverCard.Content
className={cn(
"group relative text-sm",
"group relative z-[1] text-sm",
"animate-in fade-in-0 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
)}
style={useOverlay ? { width: bounds.width } : undefined}