Script only processes first instance
theorosendorf opened this issue · 2 comments
theorosendorf commented
Hey @traviskochel ,
I noticed the second text block wasn't being scaled. I did some testing and found that if I reversed the order of the JSON code, the first text block wouldn't scale. As in the code below, "#jupiter p" scales but ".saturn p" doesn't. What do you think?
Galley([
{
target:"#jupiter p",
minFontSize: 1.9,
maxFontSize: 2.6
},
{
target:".saturn p",
minFontSize: 1.9,
maxFontSize: 2.6
}
]);
traviskochel commented
Good catch. I'll try to take a look at this next week. I've got family in town
theorosendorf commented
K, thanks!
… On Aug 16, 2017, at 12:41 PM, Travis Kochel ***@***.***> wrote:
Good catch. I'll try to take a look at this next week. I've got family in town
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.