aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/.storybook/preview.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-webextension/.storybook/preview.js')
-rw-r--r--packages/taler-wallet-webextension/.storybook/preview.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-webextension/.storybook/preview.js b/packages/taler-wallet-webextension/.storybook/preview.js
index 6331a7fa8..b770d7b63 100644
--- a/packages/taler-wallet-webextension/.storybook/preview.js
+++ b/packages/taler-wallet-webextension/.storybook/preview.js
@@ -48,7 +48,7 @@ export const decorators = [
const isTestingHeader = (/.*\/header\/?.*/.test(kind));
if (isTestingHeader) {
// simple box with correct width and height
- return <div style={{ width: 400, height: 320 }}>
+ return <div style={{ width: "fit-content" }}>
<Story />
</div>
}
@@ -90,7 +90,7 @@ export const decorators = [
font-family: Arial, Helvetica, sans-serif;
}`}
</style>
- <div style={{ width: 400, border: 'black solid 1px' }}>
+ <div style={{ border: 'black solid 1px', width: "fit-content" }}>
<Body />
</div>
</div>