diy-template-components 1.0.15 → 1.0.16

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 CHANGED
@@ -155,7 +155,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
155
155
  imageAnchorMobile: {
156
156
  pointerEvents: 'auto',
157
157
  cursor: 'default',
158
- width: '100%',
158
+ // width: '100%',
159
159
  maxWidth: '85px',
160
160
  cursor: 'default',
161
161
  height: '46px',
@@ -1333,24 +1333,6 @@ function MobileHeader({
1333
1333
  let downloadLink = null;
1334
1334
  if (isTutorWebsite) {
1335
1335
  console.log(header, 'sakshat header mobile');
1336
- if (header?.isAndroidDelisted && header?.apkURL) {
1337
- downloadLink = /*#__PURE__*/React.createElement(Button, {
1338
- data: {
1339
- link: header?.apkURL,
1340
- isLink: 1,
1341
- value: 'Download App',
1342
- isExternal: 1
1343
- },
1344
- type: '',
1345
- size: 'small',
1346
- target: 'blank',
1347
- rel: null,
1348
- style: {
1349
- padding: 0,
1350
- paddingRight: '8px'
1351
- }
1352
- });
1353
- }
1354
1336
  if (header?.iosUrl) {
1355
1337
  iosUrl = /*#__PURE__*/React.createElement(Button, {
1356
1338
  data: {
@@ -1392,7 +1374,20 @@ function MobileHeader({
1392
1374
  }
1393
1375
  });
1394
1376
  }
1395
- if (iosUrl && androidUrl) {
1377
+ if (header?.isAndroidDelisted && header?.apkURL) {
1378
+ downloadLink = /*#__PURE__*/React.createElement(Button, {
1379
+ data: {
1380
+ link: header?.apkURL,
1381
+ isLink: 1,
1382
+ value: 'Download App',
1383
+ isExternal: 1
1384
+ },
1385
+ type: 'primary',
1386
+ size: 'small',
1387
+ target: 'blank',
1388
+ rel: null
1389
+ });
1390
+ } else if (iosUrl && androidUrl) {
1396
1391
  downloadLink = /*#__PURE__*/React.createElement("div", null, iosUrl, androidUrl);
1397
1392
  } else if (header?.iosUrl) {
1398
1393
  downloadLink = /*#__PURE__*/React.createElement(Button, {