Refine more menu

This commit is contained in:
Sam Becker 2025-02-24 19:47:59 -06:00
parent c7d48ba33e
commit bc24d42864
2 changed files with 3 additions and 2 deletions

View File

@ -96,7 +96,7 @@ export default function AdminPhotoMenuClient({
size={15}
className="translate-x-[-1px]"
/>,
className: 'text-error',
className: 'text-error *:hover:text-error',
action: () => {
if (confirm(deleteConfirmationTextForPhoto(photo))) {
return deletePhotoAction(

View File

@ -31,7 +31,6 @@ export default function MoreMenu({
<FiMoreHorizontal size={18} />
</button>
</DropdownMenu.Trigger>
<DropdownMenu.Portal>
<DropdownMenu.Content
align="end"
@ -42,6 +41,8 @@ export default function MoreMenu({
'component-surface',
'p-1',
'shadow-lg dark:shadow-xl',
'data-[side=top]:animate-fade-in-from-bottom',
'data-[side=bottom]:animate-fade-in-from-top',
className,
)}
>