aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-06-23 12:59:46 -0700
committerMark Otto <[email protected]>2014-06-23 12:59:46 -0700
commitb8a04f8c60d805cc15ffd2fa3b48febad58c5e6a (patch)
treeedf2beafe9805245ff8c884a658c6541e29747dd
parentbc895a4b43ecfd2ad8c3793fdd6d8bada9d93186 (diff)
parent09cf618acff6e6992aa14bc11c89206f104c6748 (diff)
downloadbootstrap-b8a04f8c60d805cc15ffd2fa3b48febad58c5e6a.tar.xz
bootstrap-b8a04f8c60d805cc15ffd2fa3b48febad58c5e6a.zip
Merge pull request #13882 from thomaswelton/issue-13713-use-variable-small
Use @font-size-small variable to calculate <small> font-size
-rw-r--r--less/type.less4
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