aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-10-28 16:42:52 +0200
committerChristian Grothoff <christian@grothoff.org>2022-10-28 16:42:52 +0200
commit6b850030dc2ea5404af7fb777e38b31eef70b273 (patch)
tree29e6e20062c7d2c75c8f6f54f20618e4e0961262
parent1994adc765a56bc461f14622e1c5440d966a01b2 (diff)
center QR code
m---------build-system/taler-build-scripts0
-rw-r--r--packages/demobank-ui/src/components/QR.tsx8
2 files changed, 7 insertions, 1 deletions
diff --git a/build-system/taler-build-scripts b/build-system/taler-build-scripts
-Subproject 355a3172699b96f1040edcb577c07a681802b3a
+Subproject 38c168b11eeeab93562ffa74b3e2aff4b596c77
diff --git a/packages/demobank-ui/src/components/QR.tsx b/packages/demobank-ui/src/components/QR.tsx
index f154ddebe..198e7b4c6 100644
--- a/packages/demobank-ui/src/components/QR.tsx
+++ b/packages/demobank-ui/src/components/QR.tsx
@@ -40,7 +40,13 @@ export function QR({ text }: { text: string }): VNode {
}}
>
<div
- style={{ width: "50%", minWidth: 200, maxWidth: 300 }}
+ style={{
+ width: "50%",
+ minWidth: 200,
+ maxWidth: 300,
+ marginRight: "auto",
+ marginLeft: "auto",
+ }}
ref={divRef}
/>
</div>