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.
Binary file
Binary file
package/build/index.es.js CHANGED
@@ -1,12 +1,12 @@
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;
1
+ function ___$insertStyle(css) {
2
+ if (!css || !window) {
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';
@@ -1141,7 +1141,7 @@ const NextImageRenderer = ({
1141
1141
  refSetter,
1142
1142
  className
1143
1143
  } = props;
1144
- if (isCustomWebsite && typeof Image !== 'undefined') {
1144
+ if (isCustomWebsite) {
1145
1145
  const classes = nextImageRendererStyles();
1146
1146
  const imageLoader = ({
1147
1147
  src,
@@ -1599,7 +1599,8 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1599
1599
  footerLogoImage: {
1600
1600
  objectFit: ({
1601
1601
  isCustomWebsite
1602
- }) => isCustomWebsite ? 'contain' : ''
1602
+ }) => isCustomWebsite ? 'contain' : '',
1603
+ maxHeight: '55px'
1603
1604
  },
1604
1605
  '@media screen and (max-width: 767px)': {
1605
1606
  section: {