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/index.js CHANGED
@@ -2,15 +2,15 @@
2
2
 
3
3
 
4
4
 
5
- function ___$insertStyle(css) {
6
- if (!css || typeof window === 'undefined') {
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 && typeof Image !== 'undefined') {
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: {