mirror of
https://github.com/rsms/inter.git
synced 2024-11-23 11:43:47 +03:00
website: rounding of dynamic tracking on front page
This commit is contained in:
parent
47005dfa19
commit
704e067806
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user