Skip to content

Commit

Permalink
Replace instances of <13px fonts
Browse files Browse the repository at this point in the history
Minimum font size is 13px, or $default-font-size. This PR addresses that, and fixes #5359.
  • Loading branch information
Joen Asmussen committed Apr 17, 2018
1 parent 77eba26 commit 461dbc1
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions blocks/library/more/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
white-space: nowrap;

// Label
input {
font-size: 12px;
input[type=text] {
font-size: $default-font-size;
text-transform: uppercase;
font-weight: 600;
font-family: $default-font;
Expand Down
2 changes: 1 addition & 1 deletion blocks/library/nextpage/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

// Label
> span {
font-size: $default-font-size;
position: relative;
display: inline-block;
font-size: 12px;
text-transform: uppercase;
font-weight: 600;
font-family: $default-font;
Expand Down
1 change: 0 additions & 1 deletion components/form-token-field/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@
cursor: pointer;
border-radius: 0 12px 12px 0;
padding: 0 2px;
font-size: 10px;
color: $dark-gray-500;
line-height: 10px;

Expand Down
2 changes: 1 addition & 1 deletion editor/components/block-inspector/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@
}

.editor-block-inspector__card-description {
font-size: 12px;
font-size: $default-font-size;
}
4 changes: 2 additions & 2 deletions editor/components/document-outline/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
background: $light-gray-500;
color: $dark-gray-800;
border-radius: 3px;
font-size: 12px;
padding: 2px 6px;
font-size: $default-font-size;
padding: 1px 6px;
margin-right: 4px;

.is-invalid & {
Expand Down
2 changes: 1 addition & 1 deletion editor/components/post-format/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@

.editor-post-format__suggestion {
text-align: right;
font-size: 12px;
font-size: $default-font-size;
}
2 changes: 1 addition & 1 deletion editor/components/table-of-contents/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
width: 25%;
display: flex;
flex-direction: column;
font-size: 12px;
font-size: $default-font-size;
color: $dark-gray-300;
}

Expand Down

0 comments on commit 461dbc1

Please sign in to comment.