Skip to content

Commit

Permalink
Add space after relative time prefix (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
adgad authored and i-like-robots committed Aug 23, 2018
1 parent 5b5ca37 commit 799f38b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/x-teaser/src/RelativeTime.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default ({ publishedDate, firstPublishedDate }) => {

return isRecent(relativeDate) ? (
<div className={`o-teaser__timestamp o-teaser__timestamp--${status}`}>
{status ? <span className="o-teaser__timestamp-prefix">{status}</span> : null}
{status ? <span className="o-teaser__timestamp-prefix">{`${status} `} </span> : null}
<time
className="o-teaser__timestamp-date o-date"
data-o-component="o-date"
Expand Down

0 comments on commit 799f38b

Please sign in to comment.