@kids-reporter/draft-renderer 0.4.26-beta.0 → 0.4.27

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.
@@ -25,6 +25,7 @@ const FigureCaption = _styledComponents.default.figcaption`
25
25
  color: rgb(58, 79, 102);
26
26
  letter-spacing: 0.7px;
27
27
  line-height: 28px;
28
+ text-align: center;
28
29
  `;
29
30
  const Img = _styledComponents.default.img`
30
31
  width: 100%;
@@ -113,7 +114,7 @@ function ImageInArticleBody({
113
114
  const InfoBoxContainer = _styledComponents.default.div`
114
115
  /* reset browser default styles */
115
116
  figure {
116
- margin: 0;
117
+ margin: 0 0 27px 0;
117
118
  }
118
119
 
119
120
  ${props => {
@@ -117,7 +117,7 @@ const BoxBorderContainer = _styledComponents.default.div`
117
117
  theme
118
118
  }) => `
119
119
  &::before {
120
- background-image: url(https://www.unpkg.com/@kids-reporter/draft-renderer/public/images/info-box-blocksy-child-2-${theme === null || theme === void 0 ? void 0 : theme.themeColor}.png);
120
+ background-image: url(https://www.unpkg.com/@kids-reporter/draft-renderer/public/images/info-box-blocksy-child-2-${(theme === null || theme === void 0 ? void 0 : theme.themeColor) || _index2.ThemeColorEnum.BLUE}.png);
121
121
  }`}
122
122
 
123
123
  &::before {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kids-reporter/draft-renderer",
3
- "version": "0.4.26-beta.0",
3
+ "version": "0.4.27",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {