@micromag/screen-timeline 0.3.213 → 0.3.217

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
@@ -335,7 +335,7 @@ var Timeline = function Timeline(_ref) {
335
335
  }, /*#__PURE__*/React.createElement(Layout, {
336
336
  style: !isPlaceholder ? {
337
337
  padding: spacing,
338
- paddingTop: (current && !isPreview ? viewerTopHeight : 0) + spacing,
338
+ paddingTop: (!isPreview ? viewerTopHeight : 0) + spacing,
339
339
  paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + (callToActionHeight || spacing)
340
340
  } : null
341
341
  }, timelineElements)), !isPlaceholder && hasCallToAction ? /*#__PURE__*/React.createElement("div", {
package/lib/index.js CHANGED
@@ -358,7 +358,7 @@ var Timeline = function Timeline(_ref) {
358
358
  }, /*#__PURE__*/React__default["default"].createElement(Layout__default["default"], {
359
359
  style: !isPlaceholder ? {
360
360
  padding: spacing,
361
- paddingTop: (current && !isPreview ? viewerTopHeight : 0) + spacing,
361
+ paddingTop: (!isPreview ? viewerTopHeight : 0) + spacing,
362
362
  paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + (callToActionHeight || spacing)
363
363
  } : null
364
364
  }, timelineElements)), !isPlaceholder && hasCallToAction ? /*#__PURE__*/React__default["default"].createElement("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-timeline",
3
- "version": "0.3.213",
3
+ "version": "0.3.217",
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.213",
53
- "@micromag/element-background": "^0.3.213",
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-scroll": "^0.3.213",
59
- "@micromag/element-text": "^0.3.213",
60
- "@micromag/element-visual": "^0.3.213",
61
- "@micromag/transforms": "^0.3.213",
52
+ "@micromag/core": "^0.3.217",
53
+ "@micromag/element-background": "^0.3.217",
54
+ "@micromag/element-call-to-action": "^0.3.217",
55
+ "@micromag/element-container": "^0.3.217",
56
+ "@micromag/element-heading": "^0.3.217",
57
+ "@micromag/element-layout": "^0.3.217",
58
+ "@micromag/element-scroll": "^0.3.217",
59
+ "@micromag/element-text": "^0.3.217",
60
+ "@micromag/element-visual": "^0.3.217",
61
+ "@micromag/transforms": "^0.3.217",
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": "e7dcbfd9c59763758e35c37bacf6749e95c1cbac"
71
+ "gitHead": "2750ca00051185b241ed98606700aab9d596326c"
72
72
  }