diff options
Diffstat (limited to 'packages/demobank-ui/src/components/QR.tsx')
-rw-r--r-- | packages/demobank-ui/src/components/QR.tsx | 8 |
1 files changed, 7 insertions, 1 deletions
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> |