@atlaskit/media-card 73.4.1 → 73.4.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/media-card
2
2
 
3
+ ## 73.4.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`c102bb59f41`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c102bb59f41) - Viewport detector needs to have absolute positioning so that it does not cause scroll bars in firefox when rendered in a table with a link.
8
+
3
9
  ## 73.4.1
4
10
 
5
11
  ### Patch Changes
@@ -35,7 +35,7 @@ var ViewportAnchor = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
35
35
  ref: ref,
36
36
  className: "media-card-viewport-anchor",
37
37
  style: {
38
- position: 'relative',
38
+ position: 'absolute',
39
39
  top: "".concat(props.offsetTop, "px"),
40
40
  maxHeight: 0,
41
41
  pointerEvents: 'none'
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/media-card",
3
- "version": "73.4.1",
3
+ "version": "73.4.2",
4
4
  "sideEffects": false
5
5
  }
@@ -15,7 +15,7 @@ export const ViewportAnchor = /*#__PURE__*/forwardRef((props, ref) => {
15
15
  ref: ref,
16
16
  className: "media-card-viewport-anchor",
17
17
  style: {
18
- position: 'relative',
18
+ position: 'absolute',
19
19
  top: `${props.offsetTop}px`,
20
20
  maxHeight: 0,
21
21
  pointerEvents: 'none'
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/media-card",
3
- "version": "73.4.1",
3
+ "version": "73.4.2",
4
4
  "sideEffects": false
5
5
  }
@@ -21,7 +21,7 @@ export var ViewportAnchor = /*#__PURE__*/forwardRef(function (props, ref) {
21
21
  ref: ref,
22
22
  className: "media-card-viewport-anchor",
23
23
  style: {
24
- position: 'relative',
24
+ position: 'absolute',
25
25
  top: "".concat(props.offsetTop, "px"),
26
26
  maxHeight: 0,
27
27
  pointerEvents: 'none'
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/media-card",
3
- "version": "73.4.1",
3
+ "version": "73.4.2",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-card",
3
- "version": "73.4.1",
3
+ "version": "73.4.2",
4
4
  "description": "Includes all media card related components, CardView, CardViewSmall, Card...",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"