@micromag/screen-contribution 0.3.193 → 0.3.196

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
@@ -438,8 +438,8 @@ var ContributionScreen = function ContributionScreen(_ref) {
438
438
  style: !isPlaceholder ? {
439
439
  paddingLeft: spacing,
440
440
  paddingRight: spacing,
441
- paddingTop: (!isPreview ? viewerTopHeight : 0) + spacing,
442
- paddingBottom: (!isPreview ? viewerBottomHeight : 0) + spacing
441
+ paddingTop: (current && !isPreview ? viewerTopHeight : 0) + spacing,
442
+ paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + spacing
443
443
  } : null
444
444
  }, /*#__PURE__*/React.createElement(Scroll, {
445
445
  verticalAlign: layout,
package/lib/index.js CHANGED
@@ -459,8 +459,8 @@ var ContributionScreen = function ContributionScreen(_ref) {
459
459
  style: !isPlaceholder ? {
460
460
  paddingLeft: spacing,
461
461
  paddingRight: spacing,
462
- paddingTop: (!isPreview ? viewerTopHeight : 0) + spacing,
463
- paddingBottom: (!isPreview ? viewerBottomHeight : 0) + spacing
462
+ paddingTop: (current && !isPreview ? viewerTopHeight : 0) + spacing,
463
+ paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + spacing
464
464
  } : null
465
465
  }, /*#__PURE__*/React__default["default"].createElement(Scroll__default["default"], {
466
466
  verticalAlign: layout,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-contribution",
3
- "version": "0.3.193",
3
+ "version": "0.3.196",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -52,17 +52,17 @@
52
52
  "@fortawesome/fontawesome-svg-core": "^1.2.32",
53
53
  "@fortawesome/free-solid-svg-icons": "^5.15.1",
54
54
  "@fortawesome/react-fontawesome": "^0.1.13",
55
- "@micromag/core": "^0.3.190",
56
- "@micromag/data": "^0.3.190",
57
- "@micromag/element-background": "^0.3.193",
58
- "@micromag/element-button": "^0.3.190",
59
- "@micromag/element-call-to-action": "^0.3.190",
60
- "@micromag/element-container": "^0.3.190",
61
- "@micromag/element-heading": "^0.3.190",
62
- "@micromag/element-scroll": "^0.3.190",
63
- "@micromag/element-text": "^0.3.190",
64
- "@micromag/element-text-input": "^0.3.190",
65
- "@micromag/transforms": "^0.3.190",
55
+ "@micromag/core": "^0.3.196",
56
+ "@micromag/data": "^0.3.196",
57
+ "@micromag/element-background": "^0.3.196",
58
+ "@micromag/element-button": "^0.3.196",
59
+ "@micromag/element-call-to-action": "^0.3.196",
60
+ "@micromag/element-container": "^0.3.196",
61
+ "@micromag/element-heading": "^0.3.196",
62
+ "@micromag/element-scroll": "^0.3.196",
63
+ "@micromag/element-text": "^0.3.196",
64
+ "@micromag/element-text-input": "^0.3.196",
65
+ "@micromag/transforms": "^0.3.196",
66
66
  "classnames": "^2.2.6",
67
67
  "lodash": "^4.17.21",
68
68
  "prop-types": "^15.7.2",
@@ -72,5 +72,5 @@
72
72
  "publishConfig": {
73
73
  "access": "public"
74
74
  },
75
- "gitHead": "baa77c4946627fec9822955390e547ad8639f07f"
75
+ "gitHead": "f76253e63fa17840ffa08757a7f4a32554868288"
76
76
  }