fix: dropdown-menu

This commit is contained in:
Matthew Russell
2023-07-14 16:50:47 +01:00
parent 11cfc0f52f
commit a2caf407ee
2 changed files with 1 additions and 5 deletions
@@ -190,7 +190,7 @@ export const VegaWalletConnectButton = () => {
>
<DropdownMenuContent
onInteractOutside={() => setDropdownOpen(false)}
sideOffset={3}
sideOffset={17}
side="bottom"
align="end"
onEscapeKeyDown={() => setDropdownOpen(false)}
@@ -75,13 +75,9 @@ export const DropdownMenuContent = forwardRef<
>(({ className, sideOffset = 10, ...contentProps }, forwardedRef) => (
<DropdownMenuPrimitive.Content
ref={forwardedRef}
sideOffset={10}
className="min-w-[290px] bg-vega-light-100 dark:bg-vega-dark-100 p-2 rounded z-20 text-black dark:text-white border border-vega-light-200 dark:border-vega-dark-200"
align="start"
<<<<<<< HEAD
=======
sideOffset={sideOffset}
>>>>>>> 80f1f50e6 (feat: align nav dropdowns)
{...contentProps}
/>
));