From: Thomas Welton Date: Fri, 20 Jun 2014 09:31:49 +0000 (+0100) Subject: Use @font-size-small variable to calculate font-size fixes #13713 #13809 X-Git-Tag: v3.2.0~5^2~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09cf618acff6e6992aa14bc11c89206f104c6748;p=thirdparty%2Fbootstrap.git Use @font-size-small variable to calculate font-size fixes #13713 #13809 --- diff --git a/less/type.less b/less/type.less index 5eb69f3c21..9b1e48bae0 100644 --- a/less/type.less +++ b/less/type.less @@ -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