Skip to content

Commit

Permalink
Merge pull request #436 from WordPress/update/heading-numbers
Browse files Browse the repository at this point in the history
Polish heading size numbers
  • Loading branch information
jasmussen authored Apr 17, 2017
2 parents f580634 + bfe833c commit 6b64b5c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions editor/components/toolbar/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
outline: none;
color: $dark-gray-500;
cursor: pointer;
position: relative;

&:first-child {
margin-left: 3px;
Expand All @@ -29,6 +30,17 @@
background-color: $dark-gray-500;
color: $white;
}

/* Optional number, e.g. for headings */
span {
font-family: $default-font;
font-size: 10px;
font-weight: bold;
position: absolute;
bottom: 8px;
right: 4px;
}

}

.editor-toolbar__control .dashicon {
Expand Down

0 comments on commit 6b64b5c

Please sign in to comment.