Skip to content

Commit

Permalink
Remove font size from post-visibility legend (#3565)
Browse files Browse the repository at this point in the history
This fixes #1347 incidentally, because the em unit is no longer there to reduce the font size.

The meta issue, that em units are subject to browser rounding, is a correct observation, and we should use these units carefully, ideally in whole or half numbers. We should also use as few font sizes as possible, and adhere to what sizes are in WordPress already. This is on us as developers to remember, and I'm making a note to put this in the pattern library also.
  • Loading branch information
jasmussen authored and mtias committed Nov 20, 2017
1 parent 1a270df commit 2d50d76
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion editor/sidebar/post-visibility/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

.editor-post-visibility__dialog-legend {
font-weight: 600;
font-size: 0.9em;
}

.editor-post-visibility__choice {
Expand Down

0 comments on commit 2d50d76

Please sign in to comment.