aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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