Use @font-size-small variable to calculate <small> font-size fixes #13713 #13809

This commit is contained in:
Thomas Welton 2014-06-20 10:31:49 +01:00
parent 34248437c3
commit 09cf618acf
1 changed files with 2 additions and 2 deletions

View File

@ -74,10 +74,10 @@ p {
// Emphasis & misc
// -------------------------
// Ex: 14px base font * 85% = about 12px
// Ex: (12px small font / 14px base font) * 100% = about 85%
small,
.small {
font-size: 85%;
font-size: floor((100% * @font-size-small / @font-size-base));
}
// Undo browser default styling