File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/shared/components/Contentful/Image Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ export class ImageInner extends React.Component {
101
101
< picture >
102
102
< source srcSet = { imageSources . source . file . url } type = { imageSources . source . file . contentType } media = { imageSources . sourceMobile ? '(min-width: 769px)' : null } />
103
103
{ imageSources . sourceMobile && < source srcSet = { imageSources . sourceMobile . file . url } type = { imageSources . sourceMobile . file . contentType } media = "(max-width: 768px)" /> }
104
- { imageSources . sourcePolyfill && < source srcSet = { imageSources . sourcePolyfill . file . url } type = { imageSources . sourcePolyfill . file . contentType } media = { imageSources . sourcePolyfill ? '(min-width: 769px)' : null } /> }
104
+ { imageSources . sourcePolyfill && < source srcSet = { imageSources . sourcePolyfill . file . url } type = { imageSources . sourcePolyfill . file . contentType } media = { imageSources . sourcePolyfillMobile ? '(min-width: 769px)' : null } /> }
105
105
{ imageSources . sourcePolyfillMobile && < source srcSet = { imageSources . sourcePolyfillMobile . file . url } type = { imageSources . sourcePolyfillMobile . file . contentType } media = "(max-width: 768px)" /> }
106
106
< img
107
107
src = { imageSources . sourcePolyfill ? imageSources . sourcePolyfill . file . url : imageSources . source . file . url }
@@ -121,7 +121,7 @@ export class ImageInner extends React.Component {
121
121
< picture >
122
122
< source srcSet = { imageSources . source . file . url } type = { imageSources . source . file . contentType } media = { imageSources . sourceMobile ? '(min-width: 769px)' : null } />
123
123
{ imageSources . sourceMobile && < source srcSet = { imageSources . sourceMobile . file . url } type = { imageSources . sourceMobile . file . contentType } media = "(max-width: 768px)" /> }
124
- { imageSources . sourcePolyfill && < source srcSet = { imageSources . sourcePolyfill . file . url } type = { imageSources . sourcePolyfill . file . contentType } media = { imageSources . sourcePolyfill ? '(min-width: 769px)' : null } /> }
124
+ { imageSources . sourcePolyfill && < source srcSet = { imageSources . sourcePolyfill . file . url } type = { imageSources . sourcePolyfill . file . contentType } media = { imageSources . sourcePolyfillMobile ? '(min-width: 769px)' : null } /> }
125
125
{ imageSources . sourcePolyfillMobile && < source srcSet = { imageSources . sourcePolyfillMobile . file . url } type = { imageSources . sourcePolyfillMobile . file . contentType } media = "(max-width: 768px)" /> }
126
126
< img
127
127
src = { imageSources . sourcePolyfill ? imageSources . sourcePolyfill . file . url : imageSources . source . file . url }
You can’t perform that action at this time.
0 commit comments