diff --git a/frontend/src/pages/SynthesisDetail.tsx b/frontend/src/pages/SynthesisDetail.tsx index 45bf060..37bc917 100644 --- a/frontend/src/pages/SynthesisDetail.tsx +++ b/frontend/src/pages/SynthesisDetail.tsx @@ -59,9 +59,25 @@ const NewsItemCard: Component<{ item: NewsItemType; displayLevel: number }> = (p - -

{props.item.date}

-
+
+ + {props.item.date} + + + + + + {props.item.url.replace(/^https?:\/\//, '').length > 40 + ? props.item.url.replace(/^https?:\/\//, '').slice(0, 37) + '...' + : props.item.url.replace(/^https?:\/\//, '')} + +
1 && props.item.summary}>

{truncateSummary(props.item.summary, effectiveLevel())}