fix(share): fix share page feed item style

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei 2025-01-26 21:04:02 +08:00
parent 23a9d870ee
commit 9b69e48852
No known key found for this signature in database
GPG Key ID: 0F62D33977F021F7
1 changed files with 4 additions and 2 deletions

View File

@ -40,7 +40,7 @@ function NormalListItemImpl({
</div>
<div
className={cn(
"relative my-0.5 break-words",
"relative my-0.5 line-clamp-2 break-words",
!!entry.collections && "pr-5",
entry.entries.title ? withDetails && "font-medium" : "text-[13px]",
)}
@ -51,7 +51,9 @@ function NormalListItemImpl({
</div>
{withDetails && (
<div className="flex gap-2">
<div className={cn("grow text-[13px]", "text-zinc-400 dark:text-neutral-500")}>
<div
className={cn("grow text-[13px]", "line-clamp-5 text-zinc-400 dark:text-neutral-500")}
>
{entry.entries.description}
</div>