@argos-ci/storybook 3.0.1 → 3.0.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.
@@ -265,8 +265,8 @@ function applyFitToContent(options, fitToContent) {
265
265
  const { padding, zoom } = fitToContent;
266
266
  return {
267
267
  ...options,
268
- element: "body > div:nth-child(5)",
269
- argosCSS: `body > div:nth-child(5) { padding: ${padding}px; width: fit-content; height: fit-content; zoom: ${zoom}; }` + (options?.argosCSS ?? "")
268
+ element: "body",
269
+ argosCSS: `body { padding: ${padding}px; width: fit-content; height: fit-content; min-height: initial; zoom: ${zoom}; }` + (options?.argosCSS ?? "")
270
270
  };
271
271
  }
272
272
  var cwd = process.cwd();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@argos-ci/storybook",
3
3
  "description": "Visual testing for Storybook test runner.",
4
- "version": "3.0.1",
4
+ "version": "3.0.2",
5
5
  "author": "Smooth Code",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -97,5 +97,5 @@
97
97
  "check-format": "prettier --check --ignore-unknown --ignore-path=./.gitignore --ignore-path=../../.gitignore --ignore-path=../../.prettierignore .",
98
98
  "lint": "eslint ."
99
99
  },
100
- "gitHead": "c54dac3320a10630c31549153473b70a2b42c2b6"
100
+ "gitHead": "d29290c86988fd44f71543402c9c04096494a64e"
101
101
  }