From 2945c8d925dc2ccc984cdd28edff4913c07d6e43 Mon Sep 17 00:00:00 2001 From: Anastasios Date: Fri, 22 Nov 2024 17:30:37 +0400 Subject: [PATCH] fix: last acc hidden in switch acc list, closes #5975 --- src/app/pages/choose-account/components/accounts.tsx | 2 +- src/app/ui/components/virtuoso.tsx | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/app/pages/choose-account/components/accounts.tsx b/src/app/pages/choose-account/components/accounts.tsx index 1cdeb2d7fe5..de453ca918d 100644 --- a/src/app/pages/choose-account/components/accounts.tsx +++ b/src/app/pages/choose-account/components/accounts.tsx @@ -85,7 +85,7 @@ function AddAccountAction() { - Generate new account + Generate new account {component} diff --git a/src/app/ui/components/virtuoso.tsx b/src/app/ui/components/virtuoso.tsx index aa79cfd6d84..8b20e9fc1ba 100644 --- a/src/app/ui/components/virtuoso.tsx +++ b/src/app/ui/components/virtuoso.tsx @@ -20,7 +20,7 @@ export function VirtuosoWrapper({ children, hasFooter, isPopup }: VirtuosoWrappe const [key, setKey] = useState(0); const isAtLeastMd = useViewportMinWidth('md'); const virtualHeight = isAtLeastMd ? '70vh' : '100vh'; - const headerHeight = isPopup ? 230 : 60; + const headerHeight = isPopup ? 300 : 80; const footerHeight = hasFooter ? 95 : 0; const heightOffset = headerHeight + footerHeight; const height = vhToPixels(virtualHeight) - heightOffset; @@ -33,10 +33,9 @@ export function VirtuosoWrapper({ children, hasFooter, isPopup }: VirtuosoWrappe return (