pds-dev-kit-web-test 2.2.83 → 2.2.84
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.
@@ -361,7 +361,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
361
361
|
var baseViewPort = 375;
|
362
362
|
var gap = baseViewPort - viewport;
|
363
363
|
if (gap > 0) {
|
364
|
-
var magicNumber = Math.pow((gap /
|
364
|
+
var magicNumber = Math.pow((gap / 23.5), 1.1);
|
365
365
|
var resSize = 16 - magicNumber;
|
366
366
|
setBaseFontSize(resSize);
|
367
367
|
}
|