website: rounding of dynamic tracking on front page
This commit is contained in:
parent
47005dfa19
commit
704e067806
1 changed files with 1 additions and 1 deletions
|
|
@ -577,7 +577,7 @@ var unitFormatters = [
|
||||||
return tracking.toFixed(3)
|
return tracking.toFixed(3)
|
||||||
}],
|
}],
|
||||||
['px', 'px', function(fontSize, tracking) {
|
['px', 'px', function(fontSize, tracking) {
|
||||||
return (fontSize * tracking).toFixed(3)
|
return (fontSize * tracking).toFixed(1)
|
||||||
}],
|
}],
|
||||||
['%', 'percent', function(fontSize, tracking) {
|
['%', 'percent', function(fontSize, tracking) {
|
||||||
return (tracking * 100).toFixed(1)
|
return (tracking * 100).toFixed(1)
|
||||||
|
|
|
||||||
Reference in a new issue