0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Fixed theme management menu alignment (#21896)

ref DES-933

- when three dot buttons are clicked in the theme management modal, the
menu alignment was wrong
- this fixes the issue by aligning the button and the menu by the right
edge
This commit is contained in:
Sodbileg Gansukh 2024-12-17 11:14:11 +08:00 committed by GitHub
parent 485f52df80
commit c2bd0d9d07
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -161,7 +161,7 @@ const ThemeActions: React.FC<ThemeActionProps> = ({
return (
<div className='-mr-3 flex items-center gap-4'>
{actions}
<Menu items={menuItems} position='start' triggerButtonProps={buttonProps} />
<Menu items={menuItems} position='end' triggerButtonProps={buttonProps} />
</div>
);
};