mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-01-10 01:44:29 +01:00
fix: line wrap issue in EventModal
This commit is contained in:
@@ -58,7 +58,7 @@ export default function EventCard({ event }: Props) {
|
||||
<p className="text-body4 text-gray-600 line-clamp-2">
|
||||
{trimText(event.description, 90)}
|
||||
</p>
|
||||
<span className={`mt-8 text-body5 self-start px-8 py-4 rounded-20 whitespace-pre-line ${mapTypeToBadge[event.type].color}`}>
|
||||
<span className={`mt-8 text-body5 self-start px-8 py-4 rounded-20 ${mapTypeToBadge[event.type].color}`}>
|
||||
{mapTypeToBadge[event.type].text}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@@ -57,7 +57,7 @@ export default function ProjectDetailsCard({ direction, event, ...props }: Props
|
||||
<a href={event.website} target="_blank" rel="noreferrer" > <span className="align-middle ">{event.website}</span></a>
|
||||
</p>
|
||||
</div>
|
||||
<p className="text-body4 text-gray-600 mt-24">
|
||||
<p className="text-body4 text-gray-600 mt-24 whitespace-pre-line">
|
||||
{event.description}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user