From 1c3669861f4a4d06479e3e3e7c1ad5b4dbdc01ed Mon Sep 17 00:00:00 2001 From: chambaz Date: Thu, 20 Feb 2025 16:03:30 -0500 Subject: [PATCH] fix: add auth accounts dropdown prop to mod height --- .../components/wallet-auth-accounts/wallet-auth-accounts.tsx | 5 ++++- packages/mrgn-ui/src/components/wallet-v2/wallet.tsx | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/mrgn-ui/src/components/wallet-v2/components/wallet-auth-accounts/wallet-auth-accounts.tsx b/packages/mrgn-ui/src/components/wallet-v2/components/wallet-auth-accounts/wallet-auth-accounts.tsx index 6b5a73050..7d2836e05 100644 --- a/packages/mrgn-ui/src/components/wallet-v2/components/wallet-auth-accounts/wallet-auth-accounts.tsx +++ b/packages/mrgn-ui/src/components/wallet-v2/components/wallet-auth-accounts/wallet-auth-accounts.tsx @@ -35,6 +35,7 @@ type WalletAuthAccountsProps = { fetchMrgnlendState: () => void; processOpts?: ProcessTransactionsClientOpts; closeOnSwitch?: boolean; + fullHeight?: boolean; popoverContentAlign?: "start" | "end" | "center"; showAddAccountButton?: boolean; accountLabels?: Record; @@ -49,6 +50,7 @@ export const WalletAuthAccounts = ({ selectedAccount, fetchMrgnlendState, closeOnSwitch = false, + fullHeight = false, popoverContentAlign = "center", showAddAccountButton = true, processOpts, @@ -276,7 +278,8 @@ export const WalletAuthAccounts = ({
diff --git a/packages/mrgn-ui/src/components/wallet-v2/wallet.tsx b/packages/mrgn-ui/src/components/wallet-v2/wallet.tsx index 17eb20411..574ff4246 100644 --- a/packages/mrgn-ui/src/components/wallet-v2/wallet.tsx +++ b/packages/mrgn-ui/src/components/wallet-v2/wallet.tsx @@ -253,6 +253,7 @@ const Wallet = ({ processOpts={processOpts} accountLabels={accountLabels} fetchAccountLabels={fetchAccountLabels} + fullHeight={true} />
)}