Replace hidden job card p with div to avoid markdown nesting p elements

This commit is contained in:
Dejvino 2023-06-03 13:19:55 +02:00
parent fd9150a2ff
commit d4b09eefd6

View File

@ -36,7 +36,7 @@ export default function JobCard(props: Props) {
{props.company && props.timerange && <span>, </span>} {props.company && props.timerange && <span>, </span>}
{props.timerange && <span className='timerange'>{props.timerange}</span>} {props.timerange && <span className='timerange'>{props.timerange}</span>}
</Card.Subtitle> </Card.Subtitle>
<Card.Text className='multiline'>{md(props.description)}</Card.Text> <div className='multiline job-description'>{md(props.description)}</div>
{props.tags && <JobTags tags={props.tags} />} {props.tags && <JobTags tags={props.tags} />}
</Card.Body> </Card.Body>
</Card> </Card>