mirror of
https://github.com/ZetaKebab/quartz.git
synced 2025-06-21 16:24:36 +00:00
fix(og): adjust line clamp
This commit is contained in:
@ -266,6 +266,7 @@ export const defaultImage: SocialImageOptions["imageStructure"] = (
|
|||||||
WebkitBoxOrient: "vertical",
|
WebkitBoxOrient: "vertical",
|
||||||
WebkitLineClamp: 2,
|
WebkitLineClamp: 2,
|
||||||
overflow: "hidden",
|
overflow: "hidden",
|
||||||
|
textOverflow: "ellipsis",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{title}
|
{title}
|
||||||
@ -287,8 +288,9 @@ export const defaultImage: SocialImageOptions["imageStructure"] = (
|
|||||||
margin: 0,
|
margin: 0,
|
||||||
display: "-webkit-box",
|
display: "-webkit-box",
|
||||||
WebkitBoxOrient: "vertical",
|
WebkitBoxOrient: "vertical",
|
||||||
WebkitLineClamp: 4,
|
WebkitLineClamp: 5,
|
||||||
overflow: "hidden",
|
overflow: "hidden",
|
||||||
|
textOverflow: "ellipsis",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{description}
|
{description}
|
||||||
|
Reference in New Issue
Block a user