Skip to content

Commit

Permalink
Unify spacing on footer buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
carletex committed Oct 16, 2023
1 parent 6a0c6e4 commit 91fe51c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions packages/nextjs/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@ export const Footer = () => {
return (
<div className="min-h-0 py-5 px-1 mb-11 lg:mb-0">
<div>
<div className="fixed flex justify-between items-center w-full z-10 p-4 bottom-0 left-0 pointer-events-none ">
<div className="fixed flex justify-between items-center w-full z-10 p-4 bottom-0 left-0 pointer-events-none">
<div className="flex flex-col md:flex-row gap-2 pointer-events-auto">
{nativeCurrencyPrice > 0 && (
<div>
<div className="btn btn-primary btn-sm font-normal cursor-auto gap-0">
<CurrencyDollarIcon className="h-4 w-4 mr-0.5" />
<div className="btn btn-primary btn-sm font-normal normal-case gap-1">
<CurrencyDollarIcon className="h-4 w-4" />
<span>{nativeCurrencyPrice}</span>
</div>
</div>
)}
{isLocalNetwork && (
<>
<Faucet />
<Link href="/blockexplorer" passHref className="btn btn-primary btn-sm font-normal gap-0 normal-case">
<MagnifyingGlassIcon className="h-4 w-4 mr-0.5" />
<Link href="/blockexplorer" passHref className="btn btn-primary btn-sm font-normal normal-case gap-1">
<MagnifyingGlassIcon className="h-4 w-4" />
<span>Block Explorer</span>
</Link>
</>
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/components/scaffold-eth/Faucet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const Faucet = () => {

return (
<div>
<label htmlFor="faucet-modal" className="btn btn-primary btn-sm px-2 rounded-full font-normal normal-case">
<label htmlFor="faucet-modal" className="btn btn-primary btn-sm font-normal normal-case gap-1">
<BanknotesIcon className="h-4 w-4" />
<span>Faucet</span>
</label>
Expand Down

0 comments on commit 91fe51c

Please sign in to comment.