mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05: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:
commit
b8a04f8c60
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue