Skip to content

Commit

Permalink
Merge pull request #904 from alleslabs/fix/deploy-contracts-ui
Browse files Browse the repository at this point in the history
Fix(components): WASM page container text alignment
  • Loading branch information
evilpeach committed Apr 30, 2024
2 parents 6e03186 + ed48fc3 commit f1fa9df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Bug fixes

- [#904](https://github.com/alleslabs/celatone-frontend/pull/904) Fix wasm page container text alignment
- [#893](https://github.com/alleslabs/celatone-frontend/pull/893) Fix validator list percent

## v1.6.0
Expand Down
7 changes: 4 additions & 3 deletions src/lib/components/WasmPageContainer.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { BoxProps } from "@chakra-ui/react";
import { Box } from "@chakra-ui/react";
import { Flex } from "@chakra-ui/react";
import type { ReactNode } from "react";

type WasmPageContainerProps = {
Expand All @@ -8,17 +8,18 @@ type WasmPageContainerProps = {
};

const WasmPageContainer = ({ children, boxProps }: WasmPageContainerProps) => (
<Box
<Flex
as="main"
align="center"
direction="column"
w={540}
mx="auto"
minH="inherit"
py={12}
{...boxProps}
>
{children}
</Box>
</Flex>
);

export default WasmPageContainer;

0 comments on commit f1fa9df

Please sign in to comment.