mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-10-02 17:11:15 +02:00
@@ -47,13 +47,13 @@ export default function OpenGraphCard({ url, ...props }: { url: URL } & Omit<Car
|
|||||||
mx={isVertical ? "auto" : 0}
|
mx={isVertical ? "auto" : 0}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<Box p="2">
|
<Box p="2" overflow="hidden">
|
||||||
<Heading size="sm">
|
<Heading size="sm" isTruncated>
|
||||||
<LinkOverlay href={url.toString()} isExternal>
|
<LinkOverlay href={url.toString()} isExternal>
|
||||||
{data.ogTitle?.trim() ?? data.dcTitle?.trim()}
|
{data.ogTitle?.trim() ?? data.dcTitle?.trim()}
|
||||||
</LinkOverlay>
|
</LinkOverlay>
|
||||||
</Heading>
|
</Heading>
|
||||||
<Text isTruncated>{data.ogDescription || data.dcDescription}</Text>
|
<Text noOfLines={5}>{data.ogDescription || data.dcDescription}</Text>
|
||||||
{link}
|
{link}
|
||||||
</Box>
|
</Box>
|
||||||
</LinkBox>
|
</LinkBox>
|
||||||
|
Reference in New Issue
Block a user