fix(hackathon): truncate long bio text on dashboard
- Add line-clamp-3 to limit bio to 3 lines - Add wrap-break-word to handle long strings without spaces 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude
parent
63643cc286
commit
66b8b064ba
@@ -212,7 +212,7 @@ const DashboardPage: FC = (): ReactElement => {
|
|||||||
<h3 className="text-sm font-semibold text-gray-700 dark:text-neutral-300 uppercase tracking-wide mb-2">
|
<h3 className="text-sm font-semibold text-gray-700 dark:text-neutral-300 uppercase tracking-wide mb-2">
|
||||||
About
|
About
|
||||||
</h3>
|
</h3>
|
||||||
<p className="text-gray-800 dark:text-neutral-200 leading-relaxed">
|
<p className="text-gray-800 dark:text-neutral-200 leading-relaxed line-clamp-3 wrap-break-word">
|
||||||
{user.bio}
|
{user.bio}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user