Skip to content

Commit

Permalink
Small UI improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
kkosiorowska committed Mar 21, 2024
1 parent eaad94a commit f01bb0e
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,20 @@ export default function RetryModal({ retry }: { retry: () => void }) {
Your deposit didn't go through but no worries, your funds are
safe.
</TextMd>
<HStack>
<TextMd>
Auto-retry in <Text as="b">{`0:${data.seconds}`}</Text>
</TextMd>
<HStack gap={1}>
<TextMd>Auto-retry in</TextMd>
<TextMd
fontWeight="bold"
textAlign="left"
minW={9}
>{`0:${data.seconds}`}</TextMd>
<Box
w={3}
h={3}
aspectRatio={1}
borderRadius="50%"
background={`conic-gradient(transparent ${progressPercent}%, var(--chakra-colors-brand-400) 0)`}
transform="scaleX(-1)"
transition="background"
/>
<Box />
Expand Down

0 comments on commit f01bb0e

Please sign in to comment.