Skip to content

Commit

Permalink
fix(share): fix share page feed item style
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <[email protected]>
  • Loading branch information
Innei committed Jan 26, 2025
1 parent 23a9d87 commit 9b69e48
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/server/client/components/items/normal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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]",
)}
Expand All @@ -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>

Expand Down

0 comments on commit 9b69e48

Please sign in to comment.