@micromag/screen-conversation 0.3.194 → 0.3.198

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
@@ -382,8 +382,8 @@ var ConversationScreen = function ConversationScreen(_ref) {
382
382
  className: styles.layout,
383
383
  style: !isPlaceholder ? {
384
384
  padding: spacing,
385
- paddingTop: (!isPreview ? viewerTopHeight : 0) + spacing,
386
- paddingBottom: (!isPreview ? viewerBottomHeight : 0) + spacing
385
+ paddingTop: (current && !isPreview ? viewerTopHeight : 0) + spacing,
386
+ paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + spacing
387
387
  } : null
388
388
  }, /*#__PURE__*/React.createElement(ScreenElement, {
389
389
  placeholder: "conversation",
package/lib/index.js CHANGED
@@ -404,8 +404,8 @@ var ConversationScreen = function ConversationScreen(_ref) {
404
404
  className: styles.layout,
405
405
  style: !isPlaceholder ? {
406
406
  padding: spacing,
407
- paddingTop: (!isPreview ? viewerTopHeight : 0) + spacing,
408
- paddingBottom: (!isPreview ? viewerBottomHeight : 0) + spacing
407
+ paddingTop: (current && !isPreview ? viewerTopHeight : 0) + spacing,
408
+ paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + spacing
409
409
  } : null
410
410
  }, /*#__PURE__*/React__default["default"].createElement(components.ScreenElement, {
411
411
  placeholder: "conversation",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-conversation",
3
- "version": "0.3.194",
3
+ "version": "0.3.198",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -49,16 +49,16 @@
49
49
  },
50
50
  "dependencies": {
51
51
  "@babel/runtime": "^7.13.10",
52
- "@micromag/core": "^0.3.194",
53
- "@micromag/element-background": "^0.3.194",
54
- "@micromag/element-call-to-action": "^0.3.194",
55
- "@micromag/element-container": "^0.3.194",
56
- "@micromag/element-heading": "^0.3.194",
57
- "@micromag/element-layout": "^0.3.194",
58
- "@micromag/element-scroll": "^0.3.194",
59
- "@micromag/element-text": "^0.3.194",
60
- "@micromag/element-visual": "^0.3.194",
61
- "@micromag/transforms": "^0.3.194",
52
+ "@micromag/core": "^0.3.196",
53
+ "@micromag/element-background": "^0.3.198",
54
+ "@micromag/element-call-to-action": "^0.3.196",
55
+ "@micromag/element-container": "^0.3.196",
56
+ "@micromag/element-heading": "^0.3.196",
57
+ "@micromag/element-layout": "^0.3.196",
58
+ "@micromag/element-scroll": "^0.3.196",
59
+ "@micromag/element-text": "^0.3.196",
60
+ "@micromag/element-visual": "^0.3.198",
61
+ "@micromag/transforms": "^0.3.196",
62
62
  "classnames": "^2.2.6",
63
63
  "lodash": "^4.17.21",
64
64
  "prop-types": "^15.7.2",
@@ -68,5 +68,5 @@
68
68
  "publishConfig": {
69
69
  "access": "public"
70
70
  },
71
- "gitHead": "b873f7d8957f26dcfbe27d1ad78f2102810e8c4d"
71
+ "gitHead": "1aba9d8d7585194940b790d71203dff154831f74"
72
72
  }