mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 07:10:53 +00:00
Refactor EventItem component to use div instead of p tags for event descriptions
This commit is contained in:
parent
ec9e6252a1
commit
14c6bdb3b4
@ -95,21 +95,21 @@ const EventItem: FunctionComponent<ComponentProps> = (
|
||||
</h2>
|
||||
</div>
|
||||
{props.eventDescription && (
|
||||
<p className="mt-2 text-sm">
|
||||
<div className="mt-2 text-sm">
|
||||
<MarkdownViewer text={props.eventDescription || ''} />
|
||||
</p>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{props.eventSecondDescription && (
|
||||
<p className="mt-3 text-gray-500 text-sm">
|
||||
<div className="mt-3 text-gray-500 text-sm">
|
||||
{props.eventSecondDescription}
|
||||
</p>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{props.eventMiniDescription && (
|
||||
<p className="mt-3 text-gray-400 text-sm">
|
||||
<div className="mt-3 text-gray-400 text-sm">
|
||||
{props.eventMiniDescription}
|
||||
</p>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{props.labels && props.labels.length > 0 ? (
|
||||
|
Loading…
Reference in New Issue
Block a user