@micromag/screen-quote 0.3.360 → 0.3.361

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
@@ -107,8 +107,8 @@ var QuoteScreen = function QuoteScreen(_ref) {
107
107
  verticalAlign: verticalAlign,
108
108
  style: !isPlaceholder ? {
109
109
  padding: spacing,
110
- paddingTop: (!isPreview ? viewerTopHeight : 0) + spacing,
111
- paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + spacing
110
+ paddingTop: (!isPreview ? viewerTopHeight : 0) + (hasHeader ? spacing / 2 : spacing),
111
+ paddingBottom: (!isPreview ? viewerBottomHeight : 0) + (hasFooter ? spacing / 2 : spacing)
112
112
  } : null
113
113
  }, !isPlaceholder && hasHeader ? /*#__PURE__*/React.createElement("div", {
114
114
  style: {
package/lib/index.js CHANGED
@@ -127,8 +127,8 @@ var QuoteScreen = function QuoteScreen(_ref) {
127
127
  verticalAlign: verticalAlign,
128
128
  style: !isPlaceholder ? {
129
129
  padding: spacing,
130
- paddingTop: (!isPreview ? viewerTopHeight : 0) + spacing,
131
- paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + spacing
130
+ paddingTop: (!isPreview ? viewerTopHeight : 0) + (hasHeader ? spacing / 2 : spacing),
131
+ paddingBottom: (!isPreview ? viewerBottomHeight : 0) + (hasFooter ? spacing / 2 : spacing)
132
132
  } : null
133
133
  }, !isPlaceholder && hasHeader ? /*#__PURE__*/React__default["default"].createElement("div", {
134
134
  style: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-quote",
3
- "version": "0.3.360",
3
+ "version": "0.3.361",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -67,5 +67,5 @@
67
67
  "publishConfig": {
68
68
  "access": "public"
69
69
  },
70
- "gitHead": "5531b1c55e0dd7e7a9c6eeee217ca28d985c7921"
70
+ "gitHead": "846c75443d002315fbf6ec9b6e6292f7f3dfbd06"
71
71
  }