diff --git a/src/App.less b/src/App.less index 27a52ca..c90a791 100644 --- a/src/App.less +++ b/src/App.less @@ -27,7 +27,10 @@ body { .Banner-description { color: black; text-align: center; - width: 100%; + display: flex; + align-self: center; + align-items: center; + height: 100%; } .App-Bar { @@ -168,7 +171,7 @@ body { } .ant-pro-basicLayout { - min-height: calc(100% - 30px); + min-height: calc(100% - 30px) !important; } .ant-table-cell { diff --git a/src/components/CurrentUserBadge/index.tsx b/src/components/CurrentUserBadge/index.tsx index e278869..05cf747 100644 --- a/src/components/CurrentUserBadge/index.tsx +++ b/src/components/CurrentUserBadge/index.tsx @@ -1,6 +1,6 @@ import React from "react"; import { useWallet } from "../../contexts/wallet"; -import { shortenAddress } from "../../utils/utils"; +import { formatNumber, shortenAddress } from "../../utils/utils"; import { Identicon } from "../Identicon"; import { useNativeAccount } from "../../contexts/accounts"; import { LAMPORTS_PER_SOL } from "@solana/web3.js"; @@ -13,10 +13,12 @@ export const CurrentUserBadge = (props: {}) => { return null; } + // should use SOL ◎ ? + return (