aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/popupEntryPoint.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2021-06-21 10:07:56 -0300
committerSebastian <sebasjm@gmail.com>2021-06-21 10:08:35 -0300
commit0d86f84dc004c9d22d5df83182a58199d3349071 (patch)
treed5cec9606533454ad5fc06ca400cad3e8dc470cf /packages/taler-wallet-webextension/src/popupEntryPoint.tsx
parentc7f0e483232a01c1165c8146285b915f766dba78 (diff)
downloadwallet-core-0d86f84dc004c9d22d5df83182a58199d3349071.tar.xz
fix some pixel and css classes and sync storybook
Diffstat (limited to 'packages/taler-wallet-webextension/src/popupEntryPoint.tsx')
-rw-r--r--packages/taler-wallet-webextension/src/popupEntryPoint.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/taler-wallet-webextension/src/popupEntryPoint.tsx b/packages/taler-wallet-webextension/src/popupEntryPoint.tsx
index 05c5cca9c..1c569519c 100644
--- a/packages/taler-wallet-webextension/src/popupEntryPoint.tsx
+++ b/packages/taler-wallet-webextension/src/popupEntryPoint.tsx
@@ -34,7 +34,7 @@ import { BalancePage } from "./popup/Balance";
import Match from "preact-router/match";
import Router, { route, Route } from "preact-router";
import { useTalerActionURL } from "./hooks/useTalerActionURL";
-// import { Application } from "./Application";
+import { createHashHistory } from "history";
function main(): void {
try {
@@ -88,8 +88,8 @@ function Application() {
return (
<div>
<Match>{({ path }: any) => <WalletNavBar current={path} />}</Match >
- <div style={{ padding: "1em", width: 'calc(400px - 2em)', height: 'calc(320px - 34px - 2em)' }}>
- <Router>
+ <div style={{ padding: 8, width: 'calc(400px - 16px)', height: 'calc(320px - 34px - 16px)' }}>
+ <Router history={createHashHistory()}>
<Route path={Pages.balance} component={BalancePage} />
<Route path={Pages.settings} component={SettingsPage} />
<Route path={Pages.debug} component={DebugPage} />