Skip to content

Commit

Permalink
Replaced all the css into tailwind css on TimelineEvent component (#1786
Browse files Browse the repository at this point in the history
)

Co-authored-by: Kyle Holmberg <[email protected]>
  • Loading branch information
subhajit20 and kylemh authored Dec 20, 2023
1 parent a0b2489 commit 4ff4e36
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions components/Timeline/TimelineEvent/TimelineEvent.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ TimelineEvent.propTypes = {

function TimelineEvent({ content, title }) {
return (
<div className={styles.eventContainer}>
<h4 className={styles.eventTitle}>{title}</h4>
<div className="mb-8 border-1 border-solid border-[#c5c5c5] p-5 rounded-md">
<h4 className="capitalize md:text-2xl">{title}</h4>

<div className={styles.eventContent}>{content}</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

exports[`TimelineEvent should render with required props 1`] = `
<div
className="eventContainer"
className="mb-8 border-1 border-solid border-[#c5c5c5] p-5 rounded-md"
>
<h4
className="eventTitle"
className="capitalize md:text-2xl"
>
test title
</h4>
Expand Down

2 comments on commit 4ff4e36

@vercel
Copy link

@vercel vercel bot commented on 4ff4e36 Dec 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 4ff4e36 Dec 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.