Fix three-dot dropdown alignment on dashboard metric cards

- Change align prop from 'center' to 'start' in MetricCardThreeMenuContainer
- This aligns the dropdown to the left/start edge instead of center
- Addresses BUS-1655: Top align three dot dropdown menu on dashboard cards

Co-Authored-By: nate@buster.so <nate@buster.so>
This commit is contained in:
Devin AI 2025-08-14 20:42:02 +00:00
parent 2a7f17660f
commit 4591762163
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ export const MetricCardThreeMenuContainer = ({
isOpen && 'pointer-events-auto block',
className
)}>
<Dropdown items={dropdownItems} side="left" align="center" onOpenChange={setIsOpen}>
<Dropdown items={dropdownItems} side="left" align="start" onOpenChange={setIsOpen}>
{children}
</Dropdown>
</div>