Skip to content

Commit

Permalink
Polish heading size numbers
Browse files Browse the repository at this point in the history
This PR polishes the tiny number label next to heading buttons.
  • Loading branch information
jasmussen committed Apr 17, 2017
1 parent f580634 commit bfe833c
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 bfe833c

Please sign in to comment.