Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/misalignment past txs #80

Merged
merged 2 commits into from
Jan 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased

### Features

- [#80](https://github.com/alleslabs/celatone-frontend/pull/80) Fix the misalignment of state in the PastTx page
- [#70](https://github.com/alleslabs/celatone-frontend/pull/70) Change default token denom on contract detail
- [#78](https://github.com/alleslabs/celatone-frontend/pull/78) Ignore building step when branch is not main
- [#62](https://github.com/alleslabs/celatone-frontend/pull/62) Add footer
Expand Down
9 changes: 8 additions & 1 deletion src/lib/components/Loading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@ import { Flex, Spinner, Text } from "@chakra-ui/react";

export const Loading = () => {
return (
<Flex borderY="1px solid" borderColor="divider.main" width="full" py="48px">
<Flex
borderY="1px solid"
borderColor="divider.main"
width="full"
py={12}
flexDirection="column"
alignItems="center"
>
<Spinner size="xl" speed="0.65s" />
<Text mt="20px">Loading ...</Text>
</Flex>
Expand Down
15 changes: 11 additions & 4 deletions src/lib/pages/pastTxs/components/FalseState.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,19 @@ interface FalseStateProps {
}
export const FalseState = ({ icon, text1, text2 }: FalseStateProps) => {
return (
<Flex borderY="1px solid" borderColor="divider.main" width="full" py="48px">
<Flex
borderY="1px solid"
borderColor="divider.main"
width="full"
py={12}
flexDirection="column"
alignItems="center"
>
<Icon
as={icon === "off" ? MdSearchOff : MdSearch}
mb="26px"
w="70px"
h="70px"
mb={4}
w="64px"
h="64px"
color="gray.600"
/>
<Text variant="body1" color="text.dark">
Expand Down