Skip to content

Commit

Permalink
Update title element in Card component
Browse files Browse the repository at this point in the history
  • Loading branch information
walnuts1018 committed Jan 19, 2024
1 parent d0eb11b commit 109648b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/Cards/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export function Card({
<div className='flex flex-col justify-center h-full w-full px-5 gap-1 z-10'>
<div className='flex justify-center items-center gap-2 pl-6 pr-2'>
{iconComponent}
<p className={countTextLength(title) < 20 ? 'text-xl' : 'text-lg'}>{title}</p>
<h2 className={countTextLength(title) < 20 ? 'text-xl' : 'text-lg'}>{title}</h2>
</div>
{description && (
<div className='w-full pr-11 pt-1'>
Expand Down

0 comments on commit 109648b

Please sign in to comment.