pds-dev-kit-web-test 2.4.51 → 2.4.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -205,11 +205,11 @@ function getVerticalPositionValue(value) {
|
|
205
205
|
}
|
206
206
|
}
|
207
207
|
function getEmFontSize(device, size) {
|
208
|
-
var min =
|
209
|
-
var max =
|
208
|
+
var min = size - 1.5;
|
209
|
+
var max = size + 1.5;
|
210
210
|
var preferred = size / 16;
|
211
211
|
if (device === 'DESKTOP') {
|
212
|
-
return "clamp(".concat(min, "
|
212
|
+
return "clamp(".concat(min, "px, ").concat(preferred, "em, ").concat(max, "px)");
|
213
213
|
}
|
214
|
-
return "clamp(".concat(min, "
|
214
|
+
return "clamp(".concat(min, "px, ").concat(preferred, "em, ").concat(max, "px)");
|
215
215
|
}
|