From 6a2943618e97d3aa62f19aabb403b0bae08b63e9 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sun, 20 Jun 2021 20:52:30 -0300 Subject: [PATCH] fix height, wallet popup should stay at 400x320 --- .../taler-wallet-webextension/src/popup/History.tsx | 2 +- .../src/popup/Transaction.tsx | 12 ++++++------ .../src/popupEntryPoint.tsx | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/taler-wallet-webextension/src/popup/History.tsx b/packages/taler-wallet-webextension/src/popup/History.tsx index 1a70f00ff..f055f6cb0 100644 --- a/packages/taler-wallet-webextension/src/popup/History.tsx +++ b/packages/taler-wallet-webextension/src/popup/History.tsx @@ -42,7 +42,7 @@ export function HistoryPage(props: any): JSX.Element { } export function HistoryView({ list }: { list: Transaction[] }) { - return
+ return
{list.map((tx, i) => ( ))} diff --git a/packages/taler-wallet-webextension/src/popup/Transaction.tsx b/packages/taler-wallet-webextension/src/popup/Transaction.tsx index 6939a08c3..2db4cc1af 100644 --- a/packages/taler-wallet-webextension/src/popup/Transaction.tsx +++ b/packages/taler-wallet-webextension/src/popup/Transaction.tsx @@ -83,7 +83,7 @@ export function TransactionView({ transaction, onDelete, onBack }: WalletTransac ).amount return (
-
+
{transaction.timestamp.t_ms === "never" ? "never" : format(transaction.timestamp.t_ms, 'dd/MM/yyyy HH:mm:ss')} From {transaction.exchangeBaseUrl} @@ -108,7 +108,7 @@ export function TransactionView({ transaction, onDelete, onBack }: WalletTransac return (
-
+
{transaction.timestamp.t_ms === "never" ? "never" : format(transaction.timestamp.t_ms, 'dd/MM/yyyy HH:mm:ss')} To {transaction.info.merchant.name} @@ -146,7 +146,7 @@ export function TransactionView({ transaction, onDelete, onBack }: WalletTransac ).amount return (
-
+
{transaction.timestamp.t_ms === "never" ? "never" : format(transaction.timestamp.t_ms, 'dd/MM/yyyy HH:mm:ss')} To {transaction.targetPaytoUri} @@ -166,7 +166,7 @@ export function TransactionView({ transaction, onDelete, onBack }: WalletTransac ).amount return (
-
+
{transaction.timestamp.t_ms === "never" ? "never" : format(transaction.timestamp.t_ms, 'dd/MM/yyyy HH:mm:ss')} From {transaction.exchangeBaseUrl} @@ -186,7 +186,7 @@ export function TransactionView({ transaction, onDelete, onBack }: WalletTransac ).amount return (
-
+
{transaction.timestamp.t_ms === "never" ? "never" : format(transaction.timestamp.t_ms, 'dd/MM/yyyy HH:mm:ss')} From {transaction.merchantBaseUrl} @@ -206,7 +206,7 @@ export function TransactionView({ transaction, onDelete, onBack }: WalletTransac ).amount return (
-
+
{transaction.timestamp.t_ms === "never" ? "never" : format(transaction.timestamp.t_ms, 'dd/MM/yyyy HH:mm:ss')} From {transaction.info.merchant.name} diff --git a/packages/taler-wallet-webextension/src/popupEntryPoint.tsx b/packages/taler-wallet-webextension/src/popupEntryPoint.tsx index 543b68727..05c5cca9c 100644 --- a/packages/taler-wallet-webextension/src/popupEntryPoint.tsx +++ b/packages/taler-wallet-webextension/src/popupEntryPoint.tsx @@ -88,7 +88,7 @@ function Application() { return (
{({ path }: any) => } -
+