@micromag/screen-video 0.3.194 → 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
@@ -338,7 +338,7 @@ var VideoScreen = function VideoScreen(_ref) {
338
338
  key: "bottom-content",
339
339
  className: styles.bottom,
340
340
  style: {
341
- transform: !isPreview ? "translate(0, -".concat(viewerBottomHeight, "px)") : null,
341
+ transform: current && !isPreview ? "translate(0, -".concat(viewerBottomHeight, "px)") : null,
342
342
  paddingLeft: Math.max(spacing / 2, viewerBottomSidesWidth),
343
343
  paddingRight: Math.max(spacing / 2, viewerBottomSidesWidth),
344
344
  paddingBottom: spacing / 2,
package/lib/index.js CHANGED
@@ -358,7 +358,7 @@ var VideoScreen = function VideoScreen(_ref) {
358
358
  key: "bottom-content",
359
359
  className: styles.bottom,
360
360
  style: {
361
- transform: !isPreview ? "translate(0, -".concat(viewerBottomHeight, "px)") : null,
361
+ transform: current && !isPreview ? "translate(0, -".concat(viewerBottomHeight, "px)") : null,
362
362
  paddingLeft: Math.max(spacing / 2, viewerBottomSidesWidth),
363
363
  paddingRight: Math.max(spacing / 2, viewerBottomSidesWidth),
364
364
  paddingBottom: spacing / 2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-video",
3
- "version": "0.3.194",
3
+ "version": "0.3.196",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -50,15 +50,15 @@
50
50
  "dependencies": {
51
51
  "@babel/runtime": "^7.13.10",
52
52
  "@folklore/size": "^0.1.20",
53
- "@micromag/core": "^0.3.194",
54
- "@micromag/element-background": "^0.3.194",
55
- "@micromag/element-call-to-action": "^0.3.194",
56
- "@micromag/element-closed-captions": "^0.3.194",
57
- "@micromag/element-container": "^0.3.194",
58
- "@micromag/element-image": "^0.3.194",
59
- "@micromag/element-media-controls": "^0.3.194",
60
- "@micromag/element-video": "^0.3.194",
61
- "@micromag/transforms": "^0.3.194",
53
+ "@micromag/core": "^0.3.196",
54
+ "@micromag/element-background": "^0.3.196",
55
+ "@micromag/element-call-to-action": "^0.3.196",
56
+ "@micromag/element-closed-captions": "^0.3.196",
57
+ "@micromag/element-container": "^0.3.196",
58
+ "@micromag/element-image": "^0.3.196",
59
+ "@micromag/element-media-controls": "^0.3.196",
60
+ "@micromag/element-video": "^0.3.196",
61
+ "@micromag/transforms": "^0.3.196",
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": "b873f7d8957f26dcfbe27d1ad78f2102810e8c4d"
71
+ "gitHead": "f76253e63fa17840ffa08757a7f4a32554868288"
72
72
  }