diy-template-components 0.0.63 → 0.0.66

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.js CHANGED
@@ -156,7 +156,8 @@ const useSectionStyles$a = createUseStyles(theme => ({
156
156
  fontWeight: '500',
157
157
  fontSize: '16px',
158
158
  lineHeight: '24px',
159
- color: '#3C4852'
159
+ color: '#3C4852',
160
+ marginLeft: "8px"
160
161
  },
161
162
  mobileContent: {
162
163
  display: 'flex',
@@ -244,7 +245,8 @@ const useSectionStyles$a = createUseStyles(theme => ({
244
245
  '-webkit-box-orient': 'vertical',
245
246
  overflow: 'hidden',
246
247
  textOverflow: 'ellipsis',
247
- overflowWrap: 'anywhere'
248
+ overflowWrap: 'anywhere',
249
+ marginLeft: "0px"
248
250
  }
249
251
  }));
250
252
 
@@ -1070,7 +1072,7 @@ function OptionList({
1070
1072
  styling: isMobile ? {
1071
1073
  margin: '0 40px'
1072
1074
  } : {}
1073
- }) : /*#__PURE__*/React__default["default"].createElement(Button, {
1075
+ }) : headerData?.loginCtaLink ? /*#__PURE__*/React__default["default"].createElement(Button, {
1074
1076
  data: {
1075
1077
  link: headerData?.loginCtaLink,
1076
1078
  isLink: 1,
@@ -1084,7 +1086,7 @@ function OptionList({
1084
1086
  styling: isMobile ? {
1085
1087
  margin: '0 40px'
1086
1088
  } : {}
1087
- })));
1089
+ }) : null));
1088
1090
  }
1089
1091
 
1090
1092
  function DesktopHeader({
@@ -1259,22 +1261,7 @@ function MobileHeader({
1259
1261
  rel: null
1260
1262
  });
1261
1263
  } else {
1262
- if (header?.appLink) {
1263
- downloadLink = /*#__PURE__*/React__default["default"].createElement(Button, {
1264
- data: {
1265
- link: header?.appLink,
1266
- isLink: 1,
1267
- value: 'Download App',
1268
- isExternal: 1
1269
- },
1270
- type: 'primary',
1271
- size: 'small',
1272
- target: 'blank',
1273
- rel: null
1274
- });
1275
- } else {
1276
- downloadLink = null;
1277
- }
1264
+ downloadLink = null;
1278
1265
  }
1279
1266
  } else {
1280
1267
  if (header?.appLink) {