mirror of https://github.com/buster-so/buster.git
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:
parent
2a7f17660f
commit
4591762163
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue