diff options
author | Sebastian <sebasjm@gmail.com> | 2022-11-07 15:14:40 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-11-07 15:14:40 -0300 |
commit | a3ac37359759d860e7c4da71fc4a510775c2af17 (patch) | |
tree | 16b2a2ebc2e1195f6788eddb6f62d736e3a9e0d2 /packages/taler-wallet-webextension | |
parent | ca2b4d8c80d208038e99d3b7be8d8e398dc71067 (diff) |
add word break for long payto
Diffstat (limited to 'packages/taler-wallet-webextension')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/ReserveCreated.tsx | 4 | ||||
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/Transaction.tsx | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/ReserveCreated.tsx b/packages/taler-wallet-webextension/src/wallet/ReserveCreated.tsx index 38590f715..a259f7c9a 100644 --- a/packages/taler-wallet-webextension/src/wallet/ReserveCreated.tsx +++ b/packages/taler-wallet-webextension/src/wallet/ReserveCreated.tsx @@ -74,7 +74,9 @@ export function ReserveCreated({ </b> </pre> </td> - <td width="100%">{stringifyPaytoUri(paytoURI)}</td> + <td width="100%" style={{ wordBreak: "break-all" }}> + {stringifyPaytoUri(paytoURI)} + </td> <td> <CopyButton getContent={() => stringifyPaytoUri(paytoURI)} /> </td> diff --git a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx index 29d1bdd45..746d127cf 100644 --- a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx +++ b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx @@ -311,7 +311,7 @@ export function TransactionView({ </b> </pre> </td> - <td width="100%"> + <td width="100%" style={{ wordBreak: "break-all" }}> {transaction.withdrawalDetails.exchangePaytoUris[0]} </td> <td> |