Skip to content

Commit

Permalink
Merge pull request #12 from avysel/fix/small-display-fixes
Browse files Browse the repository at this point in the history
fix: small display fixes
  • Loading branch information
avysel authored Aug 19, 2022
2 parents 49d98fc + cb6c114 commit 91a8e1b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 56 deletions.
44 changes: 0 additions & 44 deletions src/components/Faucet/FaucetInfo.tsx

This file was deleted.

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
10 changes: 5 additions & 5 deletions src/components/Faucet/SplittedFaucet.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { useState, useEffect, SetStateAction, Dispatch } from "react";
import { TezosToolkit } from '@taquito/taquito';
import FaucetInfo from "./FaucetInfo";
import { Alert, Card, Col, Row } from "react-bootstrap";
import Parser from 'html-react-parser';
import FaucetToWalletRequest from "./FaucetToWalletRequest";
Expand Down Expand Up @@ -53,11 +52,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 Down
5 changes: 0 additions & 5 deletions src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ function Header() {
<Nav.Link href={Config.application.githubRepo} target="_blank">
<Github />
</Nav.Link>

<Nav.Link href="#" target="_blank">
<Twitter />
</Nav.Link>

</Nav>

</Container>
Expand Down
8 changes: 7 additions & 1 deletion src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,11 @@ footer {
position: fixed;
width: 100%;
bottom: 0;
z-index:-1;
z-index: -1;
}

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

0 comments on commit 91a8e1b

Please sign in to comment.