Skip to content

Commit

Permalink
truncate
Browse files Browse the repository at this point in the history
  • Loading branch information
ipcgrdn committed Nov 28, 2024
1 parent 26c218f commit 858fcc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/container/square-container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ const SquareContainer = ({
</div>
<div
onClick={onClickName}
className="mt-2 font-bold text-lg text-black dark:text-white text-center tracking-wide hover:underline"
className="mt-2 font-bold text-lg text-black dark:text-white text-center tracking-wide hover:underline w-full px-8 truncate"
>
{name}
</div>
<span
onClick={onClickDescription}
className="font-medium text-sm text-neutral-600 dark:text-neutral-400 text-center hover:underline"
className="font-medium text-sm text-neutral-600 dark:text-neutral-400 text-center hover:underline w-full px-2 truncate"
>
{description}
</span>
Expand Down

0 comments on commit 858fcc6

Please sign in to comment.