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

Polish font size in inserter, and latest posts #1777

Merged
merged 3 commits into from
Jul 7, 2017

Conversation

jasmussen
Copy link
Contributor

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.

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.
@jasmussen jasmussen requested a review from ellatrix July 7, 2017 09:06
@jasmussen jasmussen self-assigned this Jul 7, 2017
@@ -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';
Copy link
Member

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.

Copy link
Contributor Author

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!

>
<Spinner />
Copy link
Member

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.

Copy link
Contributor Author

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? ;)

@jasmussen
Copy link
Contributor Author

Merging with feedback addressed.

@jasmussen jasmussen merged commit 41b0221 into master Jul 7, 2017
@jasmussen jasmussen deleted the polish/font-size-and-latest-posts branch July 7, 2017 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants