-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(v2): use tag time for showing post item date #1964
Conversation
Deploy preview for docusaurus-2 ready! Built with commit a8f1801 |
Deploy preview for docusaurus-preview ready! Built with commit a8f1801 |
@@ -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}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL about time
tag :O
@@ -8,3 +8,7 @@ | |||
.blogPostTitle { | |||
font-size: 3rem; | |||
} | |||
|
|||
.blogPostDate { | |||
font-size: smaller; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use rem
instead? Maybe 0.9rem.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done ✔️
Motivation
Just improving semantics, without changing UI.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
See HTML code.