fix(og): adjust line clamp
This commit is contained in:
parent
0babbdf780
commit
b579950ae5
1 changed files with 3 additions and 1 deletions
|
@ -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}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue