Skip to content
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

Merged
merged 2 commits into from
Nov 12, 2019

Conversation

lex111
Copy link
Contributor

@lex111 lex111 commented Nov 12, 2019

Motivation

Just improving semantics, without changing UI.

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

See HTML code.

@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Nov 12, 2019
@docusaurus-bot
Copy link
Contributor

docusaurus-bot commented Nov 12, 2019

Deploy preview for docusaurus-2 ready!

Built with commit a8f1801

https://deploy-preview-1964--docusaurus-2.netlify.com

@docusaurus-bot
Copy link
Contributor

docusaurus-bot commented Nov 12, 2019

Deploy preview for docusaurus-preview ready!

Built with commit a8f1801

https://deploy-preview-1964--docusaurus-preview.netlify.com

@@ -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}>
Copy link
Contributor

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;
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done ✔️

@endiliey endiliey added the pr: polish This PR adds a very minor behavior improvement that users will enjoy. label Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: polish This PR adds a very minor behavior improvement that users will enjoy.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants