diy-template-components 0.3.4 → 0.3.6

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 CHANGED
@@ -98,7 +98,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
98
98
  cursor: 'default',
99
99
  position: 'relative',
100
100
  height: '55px',
101
- width: 'inherit'
101
+ width: '100%'
102
102
  },
103
103
  optionsContainer: {
104
104
  display: 'flex',
@@ -148,7 +148,10 @@ const useSectionStyles$a = createUseStyles(theme => ({
148
148
  imageDivImageNext: {
149
149
  objectFit: ({
150
150
  isCustomWebsite
151
- } = {}) => isCustomWebsite ? 'contain' : ''
151
+ } = {}) => isCustomWebsite ? 'contain' : '',
152
+ objectPosition: ({
153
+ isCustomWebsite
154
+ } = {}) => isCustomWebsite ? 'left' : ''
152
155
  },
153
156
  imageAnchorMobile: {
154
157
  pointerEvents: 'auto',
@@ -2257,12 +2260,12 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2257
2260
  imageContainer: {
2258
2261
  width: '50%',
2259
2262
  position: 'relative',
2260
- height: '90%',
2261
2263
  paddingBottom: ({
2262
2264
  isCustomWebsite
2263
2265
  }) => isCustomWebsite ? '35%' : '',
2264
2266
  '& img': {
2265
- // objectFit: 'cover'
2267
+ height: '520px',
2268
+ objectFit: 'cover'
2266
2269
  }
2267
2270
  },
2268
2271
  subTitleHeading: {
@@ -2289,7 +2292,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2289
2292
  sideBannerImage: {
2290
2293
  width: '100%',
2291
2294
  height: 'calc(100% - 100px)',
2292
- // objectFit: 'cover',
2295
+ objectFit: 'cover',
2293
2296
  objectPosition: '50% 50%'
2294
2297
  },
2295
2298
  absoluteButtonsBannerRight: {