aboutsummaryrefslogtreecommitdiff
path: root/packages/demobank-ui/src/components/Loading.tsx
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2023-08-15 13:47:29 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2023-08-15 13:47:29 +0200
commit819949d7f2cfcce8d334cbfdb701255daac64951 (patch)
tree592043554f59ec209f9afc1c31c20c4fb585c3ca /packages/demobank-ui/src/components/Loading.tsx
parent77ea209ddb6d457db0ce113f91247207cc29fbd8 (diff)
parentadb0e70f151e63d103f27852312319520f4d0a84 (diff)
Merge branch 'master' into age-withdraw
Diffstat (limited to 'packages/demobank-ui/src/components/Loading.tsx')
-rw-r--r--packages/demobank-ui/src/components/Loading.tsx8
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/demobank-ui/src/components/Loading.tsx b/packages/demobank-ui/src/components/Loading.tsx
index 7cbdad681..b567e9056 100644
--- a/packages/demobank-ui/src/components/Loading.tsx
+++ b/packages/demobank-ui/src/components/Loading.tsx
@@ -21,9 +21,11 @@ export function Loading(): VNode {
<div
class="columns is-centered is-vcentered"
style={{
- height: "calc(100% - 3rem)",
- position: "absolute",
width: "100%",
+ height: "200px",
+ display: "flex",
+ margin: "auto",
+ justifyContent: "center",
}}
>
<Spinner />
@@ -33,7 +35,7 @@ export function Loading(): VNode {
export function Spinner(): VNode {
return (
- <div class="lds-ring">
+ <div class="lds-ring" style={{margin:"auto"}}>
<div />
<div />
<div />