@micromag/screen-gallery 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
@@ -429,7 +429,7 @@ var GalleryScreen = function GalleryScreen(_ref) {
429
429
  }, /*#__PURE__*/React.createElement("div", {
430
430
  className: styles.content,
431
431
  style: {
432
- paddingTop: current && !isPreview ? viewerTopHeight : null,
432
+ paddingTop: !isPreview ? viewerTopHeight : null,
433
433
  paddingBottom: (hasCallToAction ? callToActionHeight : 0) + (current && !isPreview ? viewerBottomHeight : 0)
434
434
  },
435
435
  ref: contentRef
package/lib/index.js CHANGED
@@ -451,7 +451,7 @@ var GalleryScreen = function GalleryScreen(_ref) {
451
451
  }, /*#__PURE__*/React__default["default"].createElement("div", {
452
452
  className: styles.content,
453
453
  style: {
454
- paddingTop: current && !isPreview ? viewerTopHeight : null,
454
+ paddingTop: !isPreview ? viewerTopHeight : null,
455
455
  paddingBottom: (hasCallToAction ? callToActionHeight : 0) + (current && !isPreview ? viewerBottomHeight : 0)
456
456
  },
457
457
  ref: contentRef
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-gallery",
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-grid": "^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-grid": "^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
  }