0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-21 18:54:30 +01:00

Merge pull request #13882 from thomaswelton/issue-13713-use-variable-small

Use @font-size-small variable to calculate <small> font-size
This commit is contained in:
Mark Otto 2014-06-23 12:59:46 -07:00
commit b8a04f8c60

View File

@ -74,10 +74,10 @@ p {
// Emphasis & misc // Emphasis & misc
// ------------------------- // -------------------------
// Ex: 14px base font * 85% = about 12px // Ex: (12px small font / 14px base font) * 100% = about 85%
small, small,
.small { .small {
font-size: 85%; font-size: floor((100% * @font-size-small / @font-size-base));
} }
// Undo browser default styling // Undo browser default styling