We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8bfd49 commit e10abc9Copy full SHA for e10abc9
src/index.js
@@ -53,9 +53,7 @@ module.exports = plugin(
53
: 'rem';
54
const ftMin = sFtMin * Math.pow(sFtRMin, value);
55
const ftMax = sFtMax * Math.pow(sFtRMax, value);
56
- return `clamp(${ftMin}${sFtUnit},
57
- calc(${ftMin}${sFtUnit} + (${ftMax} - ${ftMin}) * ((100vw - ${sFtSMin}${sFtUnit}) / (${sFtSMax} - ${sFtSMin}))),
58
- ${ftMax}${sFtUnit})`;
+ return `clamp(${ftMin}${sFtUnit}, calc(${ftMin}${sFtUnit} + ((${ftMax} - ${ftMin}) * ((100vw - ${sFtSMin}${sFtUnit}) / (${sFtSMax} - ${sFtSMin})))), ${ftMax}${sFtUnit})`;
59
}
60
return value;
61
};
0 commit comments