Skip to content

Commit

Permalink
fix: last acc hidden in switch acc list, closes #5975
Browse files Browse the repository at this point in the history
  • Loading branch information
alter-eggo committed Nov 22, 2024
1 parent e096ff2 commit 8f6990b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/ui/components/virtuoso.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 ? 230 : 80;
const footerHeight = hasFooter ? 95 : 0;
const heightOffset = headerHeight + footerHeight;
const height = vhToPixels(virtualHeight) - heightOffset;
Expand All @@ -36,7 +36,7 @@ export function VirtuosoWrapper({ children, hasFooter, isPopup }: VirtuosoWrappe
pt="space.03"
overflow="hidden"
style={{
height: height,
height,
marginBottom: hasFooter ? `${footerHeight}px` : '10px',
}}
>
Expand Down

0 comments on commit 8f6990b

Please sign in to comment.