-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Polish font size in inserter, and latest posts #1777
Conversation
This PR does two things 1. It normalizes the font sizes to _two_ sizes instead of 3, and assigns them variables. Notably this makes the font size in the inserter larger. 2. It polishes the Latest Posts block a bit. To elaborate on #1, there's a separate PR, #1757, which bumps the font sizes. But this actually makes the sizes larger than they are in most of WordPress. As such, I think that one needs more discussion. In the mean time, this brings the variable cleanup and inserter font size improvements to master before that discussion can conclude.
blocks/library/embed/index.js
Outdated
@@ -19,6 +19,7 @@ import { registerBlockType, query } from '../../api'; | |||
import Editable from '../../editable'; | |||
import BlockControls from '../../block-controls'; | |||
import BlockAlignmentToolbar from '../../block-alignment-toolbar'; | |||
import BlockDescription from '../../block-description'; |
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.
This needs be actually used if it's gonna be imported.
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.
Argh how embarrassing. This was copy/pasta — which I'm not sure how happened. Great catch, thanks for this!
blocks/library/latest-posts/index.js
Outdated
> | ||
<Spinner /> |
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.
According to Travis the indentation is off. One tab missing.
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.
Weird that my linter didn't catch this. Thank you again. Also, can you tell I'm in need of a vacation? ;)
Merging with feedback addressed. |
This PR does two things
To elaborate on #1, there's a separate PR, #1757, which bumps the font sizes. But this actually makes the sizes larger than they are in most of WordPress. As such, I think that one needs more discussion.
In the mean time, this brings the variable cleanup and inserter font size improvements to master before that discussion can conclude.