Skip to content

Commit

Permalink
fix: small display fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
avysel committed Aug 19, 2022
1 parent 49d98fc commit b17d061
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/components/Faucet/FaucetToWalletRequest.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ function FaucetToWalletRequest({ user, network, status, Tezos }: { user: any, ne
<div className="faucet-part-user">
<UserInfo user={user} displayBalance={true} />
</div>

<Row>
<Col>
<FaucetRequestButton network={network} to={user.userAddress} status={status} profile={Config.application.profiles.user.profile} amount={Config.application.profiles.user.amount} />
Expand Down
22 changes: 17 additions & 5 deletions src/components/Faucet/SplittedFaucet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,12 @@ function SplittedFaucet({ network, user, Tezos }: { network: Network, user: User
<Card>
<Card.Header>{network.name} faucet</Card.Header>
<Card.Body>

<Row>
<Col>
<FaucetInfo faucetAddress={faucetAddress} faucetBalance={faucetBalance} />
<hr />
<Col className="faucet-part-title">
Fund your web wallet
</Col>
<Col className="faucet-part-title">
Or fund any address
</Col>
</Row>
<Row>
Expand All @@ -84,4 +85,15 @@ function SplittedFaucet({ network, user, Tezos }: { network: Network, user: User
)
}

export default SplittedFaucet;
export default SplittedFaucet;

/*
<Row>
<Col>
<FaucetInfo faucetAddress={faucetAddress} faucetBalance={faucetBalance} />
<hr />
</Col>
</Row>
*/
6 changes: 6 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,9 @@ footer {
bottom: 0;
z-index:-1;
}

.faucet-part-title {
text-align: left;
font-weight: bold;
margin-bottom: 15px;
}

0 comments on commit b17d061

Please sign in to comment.