From 8f5ea78429476633bfdf1dbb82495cee669f7d63 Mon Sep 17 00:00:00 2001 From: Annika Hannig Date: Fri, 11 Nov 2022 14:43:45 +0100 Subject: [PATCH] fixed layout --- ui/src/app/components/spinners/WaitingCard.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ui/src/app/components/spinners/WaitingCard.js b/ui/src/app/components/spinners/WaitingCard.js index 966ae01..15a0333 100644 --- a/ui/src/app/components/spinners/WaitingCard.js +++ b/ui/src/app/components/spinners/WaitingCard.js @@ -17,6 +17,7 @@ const WaitingText = ({resource}) => { } }, []); + if (time < 5) { return null; } @@ -28,8 +29,10 @@ const WaitingText = ({resource}) => { {time >= 15 &&

> This seems to take a while...

} {time >= 20 && -

> This usually only happens when there are really many routes!
-   Please stand by a bit longer.

} + <> +

> This usually only happens when there are really many routes!

+

> Please stand by a bit longer.

+ } {time >= 30 &&

> This is taking really long...

} {time >= 40 &&