diy-template-components 0.2.55 → 0.2.57
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/650233e8e2d7dfee.png +0 -0
- package/build/d15660fcfffcc0c8.png +0 -0
- package/build/index.es.js +12 -11
- package/build/index.es.js.map +1 -1
- package/build/index.js +12 -11
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
function ___$insertStyle(css) {
|
|
6
|
-
if (!css ||
|
|
7
|
-
return;
|
|
8
|
-
}
|
|
9
|
-
const style = document.createElement('style');
|
|
10
|
-
style.setAttribute('type', 'text/css');
|
|
11
|
-
style.innerHTML = css;
|
|
12
|
-
document.head.appendChild(style);
|
|
13
|
-
return css;
|
|
5
|
+
function ___$insertStyle(css) {
|
|
6
|
+
if (!css || !window) {
|
|
7
|
+
return;
|
|
8
|
+
}
|
|
9
|
+
const style = document.createElement('style');
|
|
10
|
+
style.setAttribute('type', 'text/css');
|
|
11
|
+
style.innerHTML = css;
|
|
12
|
+
document.head.appendChild(style);
|
|
13
|
+
return css;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -1156,7 +1156,7 @@ const NextImageRenderer = ({
|
|
|
1156
1156
|
refSetter,
|
|
1157
1157
|
className
|
|
1158
1158
|
} = props;
|
|
1159
|
-
if (isCustomWebsite
|
|
1159
|
+
if (isCustomWebsite) {
|
|
1160
1160
|
const classes = nextImageRendererStyles();
|
|
1161
1161
|
const imageLoader = ({
|
|
1162
1162
|
src,
|
|
@@ -1614,7 +1614,8 @@ const useSectionStyles$9 = createUseStyles(theme => ({
|
|
|
1614
1614
|
footerLogoImage: {
|
|
1615
1615
|
objectFit: ({
|
|
1616
1616
|
isCustomWebsite
|
|
1617
|
-
}) => isCustomWebsite ? 'contain' : ''
|
|
1617
|
+
}) => isCustomWebsite ? 'contain' : '',
|
|
1618
|
+
maxHeight: '55px'
|
|
1618
1619
|
},
|
|
1619
1620
|
'@media screen and (max-width: 767px)': {
|
|
1620
1621
|
section: {
|