mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-09-18 19:41:48 +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}
|
||||
</LinkOverlay>
|
||||
</Heading>
|
||||
<Text>{data.ogDescription || data.dcDescription}</Text>
|
||||
<Text isTruncated>{data.ogDescription || data.dcDescription}</Text>
|
||||
{link}
|
||||
</Box>
|
||||
</LinkBox>
|
||||
|
Reference in New Issue
Block a user