feat: 검색 카드 제목 2줄 ellipsis 적용
- line-clamp-2 추가하여 긴 제목 잘림 처리
This commit is contained in:
parent
3b79aa13c2
commit
0376c0ac73
1 changed files with 1 additions and 1 deletions
|
|
@ -655,7 +655,7 @@ function ScheduleCard({ schedule, categoryColor, categories, delay = 0 }) {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* 제목 */}
|
{/* 제목 */}
|
||||||
<h3 className="font-bold text-[15px] text-gray-800 leading-snug">
|
<h3 className="font-bold text-[15px] text-gray-800 leading-snug line-clamp-2">
|
||||||
{decodeHtmlEntities(schedule.title)}
|
{decodeHtmlEntities(schedule.title)}
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue