diff options
author | Sebastian <sebasjm@gmail.com> | 2021-06-20 20:54:58 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-06-20 20:54:58 -0300 |
commit | c7f0e483232a01c1165c8146285b915f766dba78 (patch) | |
tree | 759415043f59aa8d2b0acdbbeb4d3af6f290fc3b /packages/taler-wallet-webextension | |
parent | 6a2943618e97d3aa62f19aabb403b0bae08b63e9 (diff) |
fix height in storybook
Diffstat (limited to 'packages/taler-wallet-webextension')
-rw-r--r-- | packages/taler-wallet-webextension/src/popup/History.stories.tsx | 2 | ||||
-rw-r--r-- | packages/taler-wallet-webextension/src/popup/Transaction.stories.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-webextension/src/popup/History.stories.tsx b/packages/taler-wallet-webextension/src/popup/History.stories.tsx index a73b7ea3f..a82863b43 100644 --- a/packages/taler-wallet-webextension/src/popup/History.stories.tsx +++ b/packages/taler-wallet-webextension/src/popup/History.stories.tsx @@ -37,7 +37,7 @@ export default { <link key="1" rel="stylesheet" type="text/css" href="/style/pure.css" /> <link key="2" rel="stylesheet" type="text/css" href="/style/popup.css" /> <link key="3" rel="stylesheet" type="text/css" href="/style/wallet.css" /> - <div style={{ margin: "1em", width: 400, display: 'flex', padding: '0.5em', height: 'calc(20rem - 34px)', border: 'black solid 1px' }}> + <div style={{ margin: "1em", width: 400, display: 'flex', padding: '0.5em', height: 'calc(320px - 34px)', border: 'black solid 1px' }}> <Story /> </div> </div> diff --git a/packages/taler-wallet-webextension/src/popup/Transaction.stories.tsx b/packages/taler-wallet-webextension/src/popup/Transaction.stories.tsx index bf090cad7..38a348387 100644 --- a/packages/taler-wallet-webextension/src/popup/Transaction.stories.tsx +++ b/packages/taler-wallet-webextension/src/popup/Transaction.stories.tsx @@ -37,7 +37,7 @@ export default { <link key="1" rel="stylesheet" type="text/css" href="/style/pure.css" /> <link key="2" rel="stylesheet" type="text/css" href="/style/popup.css" /> <link key="3" rel="stylesheet" type="text/css" href="/style/wallet.css" /> - <div style={{ margin: "1em", width: 400, display: 'flex', padding: '0.5em', height: 'calc(20rem - 34px)', border: 'black solid 1px' }}> + <div style={{ margin: "1em", width: 400, display: 'flex', padding: '0.5em', height: 'calc(320px - 34px)', border: 'black solid 1px' }}> <Story /> </div> </div> |