diy-template-components 2.0.12 → 2.0.14
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.
- package/build/index.es.js +5 -5
- package/build/index.es.js.map +1 -1
- package/build/index.js +5 -5
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -1414,8 +1414,8 @@ function MobileHeader({
|
|
|
1414
1414
|
rel: null,
|
|
1415
1415
|
onClick: () => {
|
|
1416
1416
|
let url = getAppDownloadLink(apkURL, iosDownloadLink);
|
|
1417
|
-
window.open(url,
|
|
1418
|
-
if (!header?.iosUrl && typeof onDownloadAppTriggered ==
|
|
1417
|
+
window.open(url, '_blank');
|
|
1418
|
+
if (!header?.iosUrl && typeof onDownloadAppTriggered == 'function') {
|
|
1419
1419
|
onDownloadAppTriggered(header?.isAndroidDelisted, header?.apkURL);
|
|
1420
1420
|
}
|
|
1421
1421
|
}
|
|
@@ -1449,8 +1449,8 @@ function MobileHeader({
|
|
|
1449
1449
|
rel: null,
|
|
1450
1450
|
onClick: () => {
|
|
1451
1451
|
let url = getAppDownloadLink(apkURL, iosDownloadLink);
|
|
1452
|
-
window.open(url,
|
|
1453
|
-
if (!header?.iosUrl && typeof onDownloadAppTriggered ==
|
|
1452
|
+
window.open(url, '_blank');
|
|
1453
|
+
if (!header?.iosUrl && typeof onDownloadAppTriggered == 'function') {
|
|
1454
1454
|
onDownloadAppTriggered(header?.isAndroidDelisted, header?.apkURL);
|
|
1455
1455
|
}
|
|
1456
1456
|
}
|
|
@@ -5991,7 +5991,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5991
5991
|
},
|
|
5992
5992
|
singleCardContainer: {
|
|
5993
5993
|
display: 'grid',
|
|
5994
|
-
gridTemplateColumns: `repeat(3,
|
|
5994
|
+
gridTemplateColumns: `repeat(3, 320px)`
|
|
5995
5995
|
},
|
|
5996
5996
|
singleCard: {
|
|
5997
5997
|
height: 'calc(100% - 12px)',
|