From c343c41c0bdae68db5f366f7dc5fe04cb3c6cdb5 Mon Sep 17 00:00:00 2001 From: Remington Breeze Date: Tue, 2 Jan 2024 14:20:33 -0800 Subject: [PATCH] fix(ui): Freightline items overflow with 2+ items (#1348) Signed-off-by: Remington Breeze --- ui/src/features/freightline/freight-contents.tsx | 4 ++-- ui/src/features/freightline/freight-item.tsx | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ui/src/features/freightline/freight-contents.tsx b/ui/src/features/freightline/freight-contents.tsx index d99e7ac08..827c6c5ea 100644 --- a/ui/src/features/freightline/freight-contents.tsx +++ b/ui/src/features/freightline/freight-contents.tsx @@ -20,7 +20,7 @@ export const FreightContents = (props: { } & React.PropsWithChildren ) => ( diff --git a/ui/src/features/freightline/freight-item.tsx b/ui/src/features/freightline/freight-item.tsx index f73e79114..dcc1cde0e 100644 --- a/ui/src/features/freightline/freight-item.tsx +++ b/ui/src/features/freightline/freight-item.tsx @@ -46,7 +46,9 @@ export const FreightItem = ({ onMouseEnter={() => onHover(true)} onMouseLeave={() => onHover(false)} > -
{children}
+
+ {children} +