fix(v2): use tag time for showing post item date (#1964)

* fix(v2): use tag time for showing post item date

* refactor: use rem for font-size
This commit is contained in:
Alexey Pyltsyn 2019-11-12 12:25:25 +03:00 committed by Endi
parent 6546c194fb
commit 3823feb276
2 changed files with 6 additions and 2 deletions

View file

@ -48,9 +48,9 @@ function BlogPostItem(props) {
<Link to={permalink}>{title}</Link>
</h1>
<div className="margin-bottom--sm">
<small>
<time dateTime={date} className={styles.blogPostDate}>
{month} {day}, {year}
</small>
</time>
</div>
<div className="avatar margin-bottom--md">
{authorImageURL && (

View file

@ -8,3 +8,7 @@
.blogPostTitle {
font-size: 3rem;
}
.blogPostDate {
font-size: 0.9rem;
}