aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-10-28 12:40:24 +0200
committerChristian Grothoff <christian@grothoff.org>2022-10-28 12:40:24 +0200
commitf55703b0a10c374121f2c08c5fdd10e55ee276c4 (patch)
tree9c5fa3a053cbffa2e66cd74d8bea38a981f09ba2
parentaa6227b2b858d48272129c96fcf3d7fae39bba30 (diff)
styling of QR withdraw page
m---------build-system/taler-build-scripts0
-rw-r--r--packages/demobank-ui/src/pages/home/index.tsx8
-rw-r--r--packages/demobank-ui/src/scss/bank.scss1
3 files changed, 7 insertions, 2 deletions
diff --git a/build-system/taler-build-scripts b/build-system/taler-build-scripts
-Subproject e3262f44d5e0947bfef736059e82cd8dbf1f944
+Subproject 38c168b11eeeab93562ffa74b3e2aff4b596c77
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;