Skip to content

Commit

Permalink
Minor styling (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
abtestingalpha authored Dec 13, 2023
1 parent f2bd015 commit b5bf44b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/components/AvailableBalance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const AvailableBalance = ({
return (
<div
onClick={handleAvailableBalanceClick}
className="ml-px text-xs text-yellow-300 cursor-pointer hover:underline active:opacity-40"
className="ml-px text-xs text-[--synapse-accent] cursor-pointer hover:underline active:opacity-40"
>
{currentTokenBalance.parsedBalance} available
</div>
Expand All @@ -88,7 +88,7 @@ export const AvailableBalance = ({
return (
<div
onClick={handleAvailableBalanceClick}
className="ml-px text-xs cursor-pointer hover:text-sky-300 hover:underline active:opacity-40 text-[--synapse-text-secondary]"
className="ml-px text-xs cursor-pointer hover:underline active:opacity-40 text-[--synapse-text-secondary]"
>
{currentTokenBalance.parsedBalance} available
</div>
Expand Down
14 changes: 6 additions & 8 deletions src/components/Receipt.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ export const Receipt = ({ quote, send, receive }) => {
{isExpanded ? <DoubleUpArrow /> : <DoubleDownArrow />}
</div>
) : (
<div
className="flex self-end pl-2 pr-1 py-1 gap-1 text-[--synapse-text-secondary] cursor-default"
>
<div className="flex self-end pl-2 pr-1 py-1 gap-1 text-[--synapse-text-secondary] cursor-default">
Powered by
<a
href="https://synapseprotocol.com"
Expand All @@ -40,15 +38,15 @@ export const Receipt = ({ quote, send, receive }) => {
</div>
{isExpanded && (
<dl className="receipt p-2 text-sm rounded border border-[--synapse-border] grid grid-cols-2">
<dt>Router</dt>
<dt className="text-left">Router</dt>
<dd className="text-right">{quote?.bridgeModuleName}</dd>
<dt>Origin</dt>
<dt className="text-left">Origin</dt>
<dd className="text-right">Ethereum</dd>
<dt>Destination</dt>
<dt className="text-left">Destination</dt>
<dd className="text-right">Arbitrum</dd>
<dt>Send</dt>
<dt className="text-left">Send</dt>
<dd className="text-right">{send}</dd>
<dt>Receive</dt>
<dt className="text-left">Receive</dt>
<dd className="text-right">{receive}</dd>
</dl>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/TokenSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { BridgeableToken } from 'types'
import { TokenPopoverSelect } from './TokenPopoverSelect'

type Props = {
label: 'Out' | 'In'
label: 'In' | 'Out'
onChange: (newToken: BridgeableToken) => void
token: BridgeableToken
}
Expand Down

0 comments on commit b5bf44b

Please sign in to comment.