Commit 3affcb8d authored by Ian Lapham's avatar Ian Lapham Committed by GitHub

small ux style updates (#160)

parent 56e759ff
...@@ -340,7 +340,7 @@ export default function Header() { ...@@ -340,7 +340,7 @@ export default function Header() {
Boolean(match) || Boolean(match) ||
pathname.startsWith('/add') || pathname.startsWith('/add') ||
pathname.startsWith('/remove') || pathname.startsWith('/remove') ||
pathname.startsWith('/create') || pathname.startsWith('/increase') ||
pathname.startsWith('/find') pathname.startsWith('/find')
} }
> >
...@@ -370,7 +370,6 @@ export default function Header() { ...@@ -370,7 +370,6 @@ export default function Header() {
<CardNoise /> <CardNoise />
</UNIWrapper> </UNIWrapper>
)} )}
<AccountElement active={!!account} style={{ pointerEvents: 'auto' }}> <AccountElement active={!!account} style={{ pointerEvents: 'auto' }}>
{account && userEthBalance ? ( {account && userEthBalance ? (
<BalanceText style={{ flexShrink: 0 }} pl="0.75rem" pr="0.5rem" fontWeight={500}> <BalanceText style={{ flexShrink: 0 }} pl="0.75rem" pr="0.5rem" fontWeight={500}>
......
...@@ -145,10 +145,10 @@ const StepCounter = ({ ...@@ -145,10 +145,10 @@ const StepCounter = ({
{!locked ? ( {!locked ? (
<RowBetween> <RowBetween>
<SmallButton onClick={handleDecrement}> <SmallButton onClick={handleDecrement}>
<TYPE.black fontSize="12px">-{feeAmountFormatted}%</TYPE.black> <TYPE.white fontSize="12px">-{feeAmountFormatted}%</TYPE.white>
</SmallButton> </SmallButton>
<SmallButton onClick={handleIncrement}> <SmallButton onClick={handleIncrement}>
<TYPE.black fontSize="12px">+{feeAmountFormatted}%</TYPE.black> <TYPE.white fontSize="12px">+{feeAmountFormatted}%</TYPE.white>
</SmallButton> </SmallButton>
</RowBetween> </RowBetween>
) : null} ) : null}
......
...@@ -90,7 +90,10 @@ const MenuFlyout = styled.span<{ flyoutAlignment?: FlyoutAlignment }>` ...@@ -90,7 +90,10 @@ const MenuFlyout = styled.span<{ flyoutAlignment?: FlyoutAlignment }>`
` `
const MenuItem = styled(ExternalLink)` const MenuItem = styled(ExternalLink)`
display: flex;
flex: 1; flex: 1;
flex-direction: row;
align-items: center;
padding: 0.5rem 0.5rem; padding: 0.5rem 0.5rem;
color: ${({ theme }) => theme.text2}; color: ${({ theme }) => theme.text2};
:hover { :hover {
...@@ -139,23 +142,23 @@ export default function Menu() { ...@@ -139,23 +142,23 @@ export default function Menu() {
<MenuFlyout> <MenuFlyout>
<MenuItem href="https://uniswap.org/"> <MenuItem href="https://uniswap.org/">
<Info size={14} /> <Info size={14} />
About <div>About</div>
</MenuItem> </MenuItem>
<MenuItem href="https://docs.uniswap.org/"> <MenuItem href="https://docs.uniswap.org/">
<BookOpen size={14} /> <BookOpen size={14} />
Docs <div>Docs</div>
</MenuItem> </MenuItem>
<MenuItem href={CODE_LINK}> <MenuItem href={CODE_LINK}>
<Code size={14} /> <Code size={14} />
Code <div>Code</div>
</MenuItem> </MenuItem>
<MenuItem href="https://discord.gg/FCfyBSbCU5"> <MenuItem href="https://discord.gg/FCfyBSbCU5">
<MessageCircle size={14} /> <MessageCircle size={14} />
Discord <div>Discord</div>
</MenuItem> </MenuItem>
<MenuItem href="https://info.uniswap.org/"> <MenuItem href="https://info.uniswap.org/">
<PieChart size={14} /> <PieChart size={14} />
Analytics <div>Analytics</div>
</MenuItem> </MenuItem>
{account && ( {account && (
<UNIbutton onClick={openClaimModal} padding="8px 16px" width="100%" borderRadius="12px" mt="0.5rem"> <UNIbutton onClick={openClaimModal} padding="8px 16px" width="100%" borderRadius="12px" mt="0.5rem">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment