@gjsify/adwaita-storybook 0.64.1-next.240 → 0.64.1-next.241

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.
Files changed (2) hide show
  1. package/package.json +7 -7
  2. package/src/app.ts +5 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjsify/adwaita-storybook",
3
- "version": "0.64.1-next.240",
3
+ "version": "0.64.1-next.241",
4
4
  "description": "Browser renderer for the @gjsify/stories contract — the web counterpart of @gjsify/storybook, built on @gjsify/adwaita-web",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -30,13 +30,13 @@
30
30
  "browser"
31
31
  ],
32
32
  "dependencies": {
33
- "@gjsify/adwaita-core": "0.64.1-next.240",
34
- "@gjsify/adwaita-web": "0.64.1-next.240",
35
- "@gjsify/stories": "0.64.1-next.240",
36
- "@gjsify/storybook-core": "0.64.1-next.240"
33
+ "@gjsify/adwaita-core": "0.64.1-next.241",
34
+ "@gjsify/adwaita-web": "0.64.1-next.241",
35
+ "@gjsify/stories": "0.64.1-next.241",
36
+ "@gjsify/storybook-core": "0.64.1-next.241"
37
37
  },
38
38
  "devDependencies": {
39
- "@gjsify/cli": "0.64.1-next.240",
39
+ "@gjsify/cli": "0.64.1-next.241",
40
40
  "typescript": "^6.0.3"
41
41
  },
42
42
  "gjsify": {
@@ -58,5 +58,5 @@
58
58
  "url": "https://github.com/gjsify/gjsify/issues"
59
59
  },
60
60
  "homepage": "https://github.com/gjsify/gjsify/tree/main/packages/web/adwaita-storybook#readme",
61
- "gitHead": "9cc65385593e615e921d7c3b2ceb31fd03e98e4b"
61
+ "gitHead": "9937e8d27d18d159e35471b6669bdca6dff0cd05"
62
62
  }
package/src/app.ts CHANGED
@@ -301,10 +301,13 @@ export class StorybookWebApp implements StorybookView<StoryElement> {
301
301
  ]);
302
302
  const window_ = h('adw-window', { class: 'sb-window' }, [this._navSplit]);
303
303
  this._container.replaceChildren(window_);
304
- // `<adw-window>` writes its 360x200 size request as inline style on connect, which
305
- // outranks `.sb-window`; the storybook fills its host, so it states that after connect.
304
+ // `<adw-window>` writes its size request as inline style on connect, which outranks
305
+ // `.sb-window`; the storybook fills its host, so it states that after connect, and
306
+ // lifts the 360x200 minimum so the host's bound reaches the preview scroller.
306
307
  window_.style.width = '100%';
307
308
  window_.style.height = '100%';
309
+ window_.style.minWidth = '0';
310
+ window_.style.minHeight = '0';
308
311
  }
309
312
 
310
313
  private _exposeGlobal(): void {