@micromag/screen-urbania-horoscope 0.3.190 → 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
@@ -802,8 +802,8 @@ var UrbaniaHoroscope = function UrbaniaHoroscope(_ref) {
802
802
  className: styles.layout,
803
803
  style: !isPlaceholder ? {
804
804
  padding: spacing,
805
- paddingTop: (!isPreview ? viewerTopHeight : 0) + spacing,
806
- paddingBottom: (!isPreview ? viewerBottomHeight : 0) + spacing
805
+ paddingTop: (current && !isPreview ? viewerTopHeight : 0) + spacing,
806
+ paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + spacing
807
807
  } : null,
808
808
  height: height * 0.8
809
809
  }, /*#__PURE__*/React.createElement("div", {
package/lib/index.js CHANGED
@@ -847,8 +847,8 @@ var UrbaniaHoroscope = function UrbaniaHoroscope(_ref) {
847
847
  className: styles.layout,
848
848
  style: !isPlaceholder ? {
849
849
  padding: spacing,
850
- paddingTop: (!isPreview ? viewerTopHeight : 0) + spacing,
851
- paddingBottom: (!isPreview ? viewerBottomHeight : 0) + spacing
850
+ paddingTop: (current && !isPreview ? viewerTopHeight : 0) + spacing,
851
+ paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + spacing
852
852
  } : null,
853
853
  height: height * 0.8
854
854
  }, /*#__PURE__*/React__default["default"].createElement("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-urbania-horoscope",
3
- "version": "0.3.190",
3
+ "version": "0.3.196",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -50,18 +50,18 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@babel/runtime": "^7.13.10",
53
- "@micromag/core": "^0.3.190",
54
- "@micromag/element-background": "^0.3.190",
55
- "@micromag/element-button": "^0.3.190",
56
- "@micromag/element-call-to-action": "^0.3.190",
57
- "@micromag/element-container": "^0.3.190",
58
- "@micromag/element-grid": "^0.3.190",
59
- "@micromag/element-heading": "^0.3.190",
60
- "@micromag/element-layout": "^0.3.190",
61
- "@micromag/element-scroll": "^0.3.190",
62
- "@micromag/element-text": "^0.3.190",
63
- "@micromag/element-urbania-author": "^0.3.190",
64
- "@micromag/transforms": "^0.3.190",
53
+ "@micromag/core": "^0.3.196",
54
+ "@micromag/element-background": "^0.3.196",
55
+ "@micromag/element-button": "^0.3.196",
56
+ "@micromag/element-call-to-action": "^0.3.196",
57
+ "@micromag/element-container": "^0.3.196",
58
+ "@micromag/element-grid": "^0.3.196",
59
+ "@micromag/element-heading": "^0.3.196",
60
+ "@micromag/element-layout": "^0.3.196",
61
+ "@micromag/element-scroll": "^0.3.196",
62
+ "@micromag/element-text": "^0.3.196",
63
+ "@micromag/element-urbania-author": "^0.3.196",
64
+ "@micromag/transforms": "^0.3.196",
65
65
  "@react-spring/core": "^9.1.1",
66
66
  "@react-spring/web": "^9.1.1",
67
67
  "@use-gesture/react": "^10.2.4",
@@ -75,5 +75,5 @@
75
75
  "publishConfig": {
76
76
  "access": "public"
77
77
  },
78
- "gitHead": "36be7dcf459e109654b406147cc723a52cb784cd"
78
+ "gitHead": "f76253e63fa17840ffa08757a7f4a32554868288"
79
79
  }