gatsby-matrix-theme 3.2.6 → 3.2.7
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [3.2.7](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v3.2.6...v3.2.7) (2022-01-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* content images ([11111d4](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/11111d431cf136001f908fe54fc866c5feaf74cf))
|
|
7
|
+
|
|
1
8
|
## [3.2.6](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v3.2.5...v3.2.6) (2022-01-05)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -34,12 +34,13 @@ const Content = ({ module }) => {
|
|
|
34
34
|
}
|
|
35
35
|
const lazyProps = {
|
|
36
36
|
src: node.attribs.src,
|
|
37
|
-
width: node.attribs.width,
|
|
38
|
-
height: node.attribs.height,
|
|
37
|
+
width: node.attribs.width && node.attribs.width.replace('px', ''),
|
|
38
|
+
height: node.attribs.height && node.attribs.height.replace('px', ''),
|
|
39
39
|
style: node.attribs.style ? parseCss(node.attribs.style) : null,
|
|
40
40
|
alt: node.attribs.alt ? node.attribs.alt : 'missing alt',
|
|
41
41
|
className: styles[stylesClass],
|
|
42
42
|
};
|
|
43
|
+
|
|
43
44
|
return <LazyImage {...lazyProps} />;
|
|
44
45
|
}
|
|
45
46
|
|
|
@@ -135,4 +135,4 @@
|
|
|
135
135
|
|
|
136
136
|
|
|
137
137
|
|
|
138
|
-
window['FEATURES'] = {"postcss":true};</script><script src="runtime~main.0dbefcaa.iframe.bundle.js"></script><script src="vendors~main.3242482d.iframe.bundle.js"></script><script src="main.
|
|
138
|
+
window['FEATURES'] = {"postcss":true};</script><script src="runtime~main.0dbefcaa.iframe.bundle.js"></script><script src="vendors~main.3242482d.iframe.bundle.js"></script><script src="main.b7e13342.iframe.bundle.js"></script></body></html>
|