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.js
CHANGED
|
@@ -1430,8 +1430,8 @@ function MobileHeader({
|
|
|
1430
1430
|
rel: null,
|
|
1431
1431
|
onClick: () => {
|
|
1432
1432
|
let url = getAppDownloadLink(apkURL, iosDownloadLink);
|
|
1433
|
-
window.open(url,
|
|
1434
|
-
if (!header?.iosUrl && typeof onDownloadAppTriggered ==
|
|
1433
|
+
window.open(url, '_blank');
|
|
1434
|
+
if (!header?.iosUrl && typeof onDownloadAppTriggered == 'function') {
|
|
1435
1435
|
onDownloadAppTriggered(header?.isAndroidDelisted, header?.apkURL);
|
|
1436
1436
|
}
|
|
1437
1437
|
}
|
|
@@ -1465,8 +1465,8 @@ function MobileHeader({
|
|
|
1465
1465
|
rel: null,
|
|
1466
1466
|
onClick: () => {
|
|
1467
1467
|
let url = getAppDownloadLink(apkURL, iosDownloadLink);
|
|
1468
|
-
window.open(url,
|
|
1469
|
-
if (!header?.iosUrl && typeof onDownloadAppTriggered ==
|
|
1468
|
+
window.open(url, '_blank');
|
|
1469
|
+
if (!header?.iosUrl && typeof onDownloadAppTriggered == 'function') {
|
|
1470
1470
|
onDownloadAppTriggered(header?.isAndroidDelisted, header?.apkURL);
|
|
1471
1471
|
}
|
|
1472
1472
|
}
|
|
@@ -6007,7 +6007,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6007
6007
|
},
|
|
6008
6008
|
singleCardContainer: {
|
|
6009
6009
|
display: 'grid',
|
|
6010
|
-
gridTemplateColumns: `repeat(3,
|
|
6010
|
+
gridTemplateColumns: `repeat(3, 320px)`
|
|
6011
6011
|
},
|
|
6012
6012
|
singleCard: {
|
|
6013
6013
|
height: 'calc(100% - 12px)',
|