chore: fix css location compatibility issues on Safari (#4215)

chore: fix location compatibility issues on Safari

closes https://github.com/usememos/memos/issues/4190
This commit is contained in:
zjy4fun
2024-12-20 13:21:59 +08:00
committed by GitHub
parent ce6ad4035d
commit 7a77b4ba38

View File

@@ -129,7 +129,7 @@ const AddMemoRelationPopover = (props: Props) => {
return (
<Popover open={popoverOpen} onOpenChange={setPopoverOpen}>
<PopoverTrigger className="w-9">
<PopoverTrigger className="w-9 relative">
<Button className="flex items-center justify-center" size="sm" variant="plain" asChild>
<LinkIcon className="w-5 h-5 mx-auto p-0" />
</Button>