Skip to content

Commit

Permalink
feat: handle longer descriptions + buttons always visible in viewport
Browse files Browse the repository at this point in the history
  • Loading branch information
pavanjoshi914 committed Jun 14, 2024
1 parent 06f1287 commit 986247d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/ContentMessage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function ContentMessage({ heading, content }: Props) {
{heading}
</dt>
{content && (
<dd className="text-lg text-gray-600 dark:text-neutral-400 break-all">
<dd className="text-lg text-gray-600 dark:text-neutral-400 break-all line-clamp-[8]">
{content}
</dd>
)}
Expand Down

0 comments on commit 986247d

Please sign in to comment.