@micromag/screen-image 0.3.211 → 0.3.216

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 ImageScreen = function ImageScreen(_ref) {
280
280
  }
281
281
 
282
282
  var paddingBottom = (current && !isPreview ? viewerBottomHeight : 0) + finalSpacing / 2;
283
- var paddingTop = (current && !isPreview ? viewerTopHeight : 0) + finalSpacing / 2;
283
+ var paddingTop = (!isPreview ? viewerTopHeight : 0) + finalSpacing / 2;
284
284
 
285
285
  if (isCard || isFullscreen) {
286
286
  paddingTop = 0;
package/lib/index.js CHANGED
@@ -302,7 +302,7 @@ var ImageScreen = function ImageScreen(_ref) {
302
302
  }
303
303
 
304
304
  var paddingBottom = (current && !isPreview ? viewerBottomHeight : 0) + finalSpacing / 2;
305
- var paddingTop = (current && !isPreview ? viewerTopHeight : 0) + finalSpacing / 2;
305
+ var paddingTop = (!isPreview ? viewerTopHeight : 0) + finalSpacing / 2;
306
306
 
307
307
  if (isCard || isFullscreen) {
308
308
  paddingTop = 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-image",
3
- "version": "0.3.211",
3
+ "version": "0.3.216",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -49,15 +49,15 @@
49
49
  },
50
50
  "dependencies": {
51
51
  "@babel/runtime": "^7.13.10",
52
- "@micromag/core": "^0.3.211",
53
- "@micromag/element-background": "^0.3.211",
54
- "@micromag/element-call-to-action": "^0.3.211",
55
- "@micromag/element-container": "^0.3.211",
56
- "@micromag/element-heading": "^0.3.211",
57
- "@micromag/element-layout": "^0.3.211",
58
- "@micromag/element-text": "^0.3.211",
59
- "@micromag/element-visual": "^0.3.211",
60
- "@micromag/transforms": "^0.3.211",
52
+ "@micromag/core": "^0.3.213",
53
+ "@micromag/element-background": "^0.3.215",
54
+ "@micromag/element-call-to-action": "^0.3.213",
55
+ "@micromag/element-container": "^0.3.213",
56
+ "@micromag/element-heading": "^0.3.213",
57
+ "@micromag/element-layout": "^0.3.213",
58
+ "@micromag/element-text": "^0.3.213",
59
+ "@micromag/element-visual": "^0.3.215",
60
+ "@micromag/transforms": "^0.3.213",
61
61
  "classnames": "^2.2.6",
62
62
  "lodash": "^4.17.21",
63
63
  "prop-types": "^15.7.2",
@@ -67,5 +67,5 @@
67
67
  "publishConfig": {
68
68
  "access": "public"
69
69
  },
70
- "gitHead": "2eebe38f4253de953042e9ccf1afe593c824e8e0"
70
+ "gitHead": "dedb6b1d589e05a175e45d0aca8aad0a7a6cb756"
71
71
  }