Skip to content

Commit

Permalink
Use @font-size-small variable to calculate <small> font-size fixes tw…
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaswelton committed Jun 23, 2014
1 parent 3424843 commit 09cf618
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions less/type.less
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 09cf618

Please sign in to comment.