mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-09-20 21:12:38 +02:00
truncate open graph card description
This commit is contained in:
5
.changeset/silent-buckets-joke.md
Normal file
5
.changeset/silent-buckets-joke.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"nostrudel": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
truncate open graph card description
|
@@ -24,7 +24,7 @@ export default function OpenGraphCard({ url, ...props }: { url: URL } & Omit<Car
|
|||||||
{data.ogTitle ?? data.dcTitle}
|
{data.ogTitle ?? data.dcTitle}
|
||||||
</LinkOverlay>
|
</LinkOverlay>
|
||||||
</Heading>
|
</Heading>
|
||||||
<Text>{data.ogDescription || data.dcDescription}</Text>
|
<Text isTruncated>{data.ogDescription || data.dcDescription}</Text>
|
||||||
{link}
|
{link}
|
||||||
</Box>
|
</Box>
|
||||||
</LinkBox>
|
</LinkBox>
|
||||||
|
Reference in New Issue
Block a user