diff --git a/src/components/Event/InfoRow.tsx b/src/components/Event/InfoRow.tsx index 33e9be6..ebac6b6 100644 --- a/src/components/Event/InfoRow.tsx +++ b/src/components/Event/InfoRow.tsx @@ -9,6 +9,7 @@ type InfoRowProps = { content?: React.ReactNode; // if provided, overrides text rendering style?: React.CSSProperties; alignItems?: React.CSSProperties["alignItems"]; + flexWrap?: React.CSSProperties["flexWrap"]; }; function detectUrls(text: string) { @@ -64,6 +65,7 @@ export function InfoRow({ content, style, alignItems = "center", + flexWrap = "nowrap", }: InfoRowProps) { return ( {icon} diff --git a/src/features/Events/EventPreview/EventPreviewDetails.tsx b/src/features/Events/EventPreview/EventPreviewDetails.tsx index 1b92483..3f097db 100644 --- a/src/features/Events/EventPreview/EventPreviewDetails.tsx +++ b/src/features/Events/EventPreview/EventPreviewDetails.tsx @@ -133,9 +133,10 @@ export function EventPreviewDetails({ )} {/* Resource */} - {resources && ( + {resources?.length > 0 && (