diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-10-28 12:40:24 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-10-28 12:40:24 +0200 |
commit | f55703b0a10c374121f2c08c5fdd10e55ee276c4 (patch) | |
tree | 9c5fa3a053cbffa2e66cd74d8bea38a981f09ba2 /packages | |
parent | aa6227b2b858d48272129c96fcf3d7fae39bba30 (diff) |
styling of QR withdraw page
Diffstat (limited to 'packages')
-rw-r--r-- | packages/demobank-ui/src/pages/home/index.tsx | 8 | ||||
-rw-r--r-- | packages/demobank-ui/src/scss/bank.scss | 1 |
2 files changed, 7 insertions, 2 deletions
diff --git a/packages/demobank-ui/src/pages/home/index.tsx b/packages/demobank-ui/src/pages/home/index.tsx index 55653a860..fe94e41d9 100644 --- a/packages/demobank-ui/src/pages/home/index.tsx +++ b/packages/demobank-ui/src/pages/home/index.tsx @@ -1516,7 +1516,9 @@ function QrCodeSection({ return ( <section id="main" class="content"> <h1 class="nav">{i18n`Charge Taler Wallet`}</h1> - <p>{i18n`You can use this QR code to withdraw to your mobile wallet:`}</p> + <article> + <div class="qr-div"> + <p>{i18n`Use this QR code to withdraw to your mobile wallet:`}</p> {QR({ text: talerWithdrawUri })} <p> Click <a id="linkqr" href={talerWithdrawUri}>{i18n`this link`}</a> to @@ -1524,6 +1526,8 @@ function QrCodeSection({ </p> <br /> {abortButton} + </div> + </article> </section> ); } @@ -1540,7 +1544,7 @@ function TalerWithdrawalQRCode(Props: any): VNode { const i18n = useTranslator(); const abortButton = ( <a - class="pure-button" + class="pure-button btn-cancel" onClick={() => { pageStateSetter((prevState: PageStateType) => { return { diff --git a/packages/demobank-ui/src/scss/bank.scss b/packages/demobank-ui/src/scss/bank.scss index fec0ea5c9..fdcdfcd63 100644 --- a/packages/demobank-ui/src/scss/bank.scss +++ b/packages/demobank-ui/src/scss/bank.scss @@ -15,6 +15,7 @@ div.pages-list { margin-top: 15px; } +.qr-div, .login-div, .register-div { display: block; |