diff options
| author | Thomas Welton <[email protected]> | 2014-06-20 10:31:49 +0100 |
|---|---|---|
| committer | Thomas Welton <[email protected]> | 2014-06-23 18:00:18 +0100 |
| commit | 09cf618acff6e6992aa14bc11c89206f104c6748 (patch) | |
| tree | ddd2900c6dc29d9ecf2539356cd40ae5e104913c | |
| parent | 34248437c3bc7278f912c9005d3fd4877b723d83 (diff) | |
| download | bootstrap-09cf618acff6e6992aa14bc11c89206f104c6748.tar.xz bootstrap-09cf618acff6e6992aa14bc11c89206f104c6748.zip | |
Use @font-size-small variable to calculate <small> font-size fixes #13713 #13809
| -rw-r--r-- | less/type.less | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/less/type.less b/less/type.less index 5eb69f3c2..9b1e48bae 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 |
