diy-template-components 0.2.70 → 0.2.71
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 +10 -10
- package/build/index.es.js.map +1 -1
- package/build/index.js +10 -10
- package/build/index.js.map +1 -1
- package/package.json +1 -1
- package/build/650233e8e2d7dfee.png +0 -0
- package/build/d15660fcfffcc0c8.png +0 -0
package/build/index.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
function ___$insertStyle(css) {
|
|
2
|
-
if (!css ||
|
|
3
|
-
return;
|
|
4
|
-
}
|
|
5
|
-
const style = document.createElement('style');
|
|
6
|
-
style.setAttribute('type', 'text/css');
|
|
7
|
-
style.innerHTML = css;
|
|
8
|
-
document.head.appendChild(style);
|
|
9
|
-
return css;
|
|
1
|
+
function ___$insertStyle(css) {
|
|
2
|
+
if (!css || typeof window === 'undefined') {
|
|
3
|
+
return;
|
|
4
|
+
}
|
|
5
|
+
const style = document.createElement('style');
|
|
6
|
+
style.setAttribute('type', 'text/css');
|
|
7
|
+
style.innerHTML = css;
|
|
8
|
+
document.head.appendChild(style);
|
|
9
|
+
return css;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
import React, { createContext, useContext, forwardRef, useRef, useEffect, useState, useMemo, useLayoutEffect, Suspense, memo, lazy, Fragment } from 'react';
|
|
@@ -2857,7 +2857,7 @@ const useSectionStyles$6 = createUseStyles(theme => ({
|
|
|
2857
2857
|
// paddingBottom: '35rem',
|
|
2858
2858
|
paddingBottom: ({
|
|
2859
2859
|
isCustomWebsite
|
|
2860
|
-
}) => isCustomWebsite ? '
|
|
2860
|
+
}) => isCustomWebsite ? '55%' : 'unset',
|
|
2861
2861
|
backgroundSize: 'cover',
|
|
2862
2862
|
backgroundPosition: 'center center'
|
|
2863
2863
|
},
|