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:
commit
b8a04f8c60
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user