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

Match height of font range control with the size select. #11555

Merged
merged 15 commits into from
Feb 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions packages/components/src/font-size-picker/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@

// Apply the same height as the isSmall Reset button.
.components-range-control__number {
height: 24px;
line-height: 22px;
height: 30px;
margin-left: 0;

// Show the reset button as disabled until a value is entered.
Expand Down
3 changes: 1 addition & 2 deletions packages/components/src/range-control/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,5 @@
display: inline-block;
margin-left: $grid-size;
font-weight: 500;
width: 50px;
padding: 3px 5px !important;
width: 54px;
}
5 changes: 5 additions & 0 deletions packages/edit-post/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,11 @@ body.block-editor-page {
}
}

input[type="number"] {
padding-left: 4px;
padding-right: 4px;
}

select {
padding: 2px;

Expand Down