@micromag/screen-article 0.3.414 → 0.3.415

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/es/index.js CHANGED
@@ -280,7 +280,7 @@ var ArticleScreen = function ArticleScreen(_ref) {
280
280
  className: styles.layout,
281
281
  style: !isPlaceholder ? {
282
282
  padding: spacing,
283
- paddingTop: (!isPreview ? viewerTopHeight : 0) + (hasHeader ? spacing / 2 : spacing / 2 + imageHeight),
283
+ paddingTop: hasHeader ? spacing / 2 + (!isPreview ? viewerTopHeight : 0) : spacing / 2 + imageHeight,
284
284
  paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + spacing / 2
285
285
  } : null
286
286
  }, !isPlaceholder && hasHeader ? /*#__PURE__*/React.createElement("div", {
package/lib/index.js CHANGED
@@ -305,7 +305,7 @@ var ArticleScreen = function ArticleScreen(_ref) {
305
305
  className: styles.layout,
306
306
  style: !isPlaceholder ? {
307
307
  padding: spacing,
308
- paddingTop: (!isPreview ? viewerTopHeight : 0) + (hasHeader ? spacing / 2 : spacing / 2 + imageHeight),
308
+ paddingTop: hasHeader ? spacing / 2 + (!isPreview ? viewerTopHeight : 0) : spacing / 2 + imageHeight,
309
309
  paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + spacing / 2
310
310
  } : null
311
311
  }, !isPlaceholder && hasHeader ? /*#__PURE__*/React__default["default"].createElement("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-article",
3
- "version": "0.3.414",
3
+ "version": "0.3.415",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -70,5 +70,5 @@
70
70
  "access": "public",
71
71
  "registry": "https://registry.npmjs.org/"
72
72
  },
73
- "gitHead": "d992e87bf9264c4b36a60ba9b4608768a777344d"
73
+ "gitHead": "2a98c45442258ad40d3914644530de6d9a32e3ea"
74
74
  }