Commit b2fbba13 authored by Vignesh Mohankumar's avatar Vignesh Mohankumar Committed by GitHub

fix: set height on vote and v2 liquidity buttons (#6217)

parent a15a6108
...@@ -59,6 +59,7 @@ const ButtonRow = styled(RowFixed)` ...@@ -59,6 +59,7 @@ const ButtonRow = styled(RowFixed)`
` `
const ResponsiveButtonPrimary = styled(ButtonPrimary)` const ResponsiveButtonPrimary = styled(ButtonPrimary)`
height: 40px;
width: fit-content; width: fit-content;
border-radius: 12px; border-radius: 12px;
${({ theme }) => theme.deprecated_mediaWidth.deprecated_upToSmall` ${({ theme }) => theme.deprecated_mediaWidth.deprecated_upToSmall`
...@@ -67,6 +68,7 @@ const ResponsiveButtonPrimary = styled(ButtonPrimary)` ...@@ -67,6 +68,7 @@ const ResponsiveButtonPrimary = styled(ButtonPrimary)`
` `
const ResponsiveButtonSecondary = styled(ButtonSecondary)` const ResponsiveButtonSecondary = styled(ButtonSecondary)`
height: 40px;
width: fit-content; width: fit-content;
${({ theme }) => theme.deprecated_mediaWidth.deprecated_upToSmall` ${({ theme }) => theme.deprecated_mediaWidth.deprecated_upToSmall`
width: 48%; width: 48%;
......
...@@ -3,7 +3,7 @@ import { Trace } from '@uniswap/analytics' ...@@ -3,7 +3,7 @@ import { Trace } from '@uniswap/analytics'
import { InterfacePageName } from '@uniswap/analytics-events' import { InterfacePageName } from '@uniswap/analytics-events'
import { CurrencyAmount, Token } from '@uniswap/sdk-core' import { CurrencyAmount, Token } from '@uniswap/sdk-core'
import { useWeb3React } from '@web3-react/core' import { useWeb3React } from '@web3-react/core'
import { ButtonPrimary, SmallButtonPrimary } from 'components/Button' import { ButtonPrimary } from 'components/Button'
import { AutoColumn } from 'components/Column' import { AutoColumn } from 'components/Column'
import { CardBGImage, CardNoise, CardSection, DataCard } from 'components/earn/styled' import { CardBGImage, CardNoise, CardSection, DataCard } from 'components/earn/styled'
import FormattedCurrencyAmount from 'components/FormattedCurrencyAmount' import FormattedCurrencyAmount from 'components/FormattedCurrencyAmount'
...@@ -198,7 +198,7 @@ export default function Landing() { ...@@ -198,7 +198,7 @@ export default function Landing() {
{loadingProposals || loadingAvailableVotes ? <Loader /> : null} {loadingProposals || loadingAvailableVotes ? <Loader /> : null}
{showUnlockVoting ? ( {showUnlockVoting ? (
<ButtonPrimary <ButtonPrimary
style={{ width: 'fit-content' }} style={{ width: 'fit-content', height: '40px' }}
padding="8px" padding="8px"
$borderRadius="8px" $borderRadius="8px"
onClick={toggleDelegateModal} onClick={toggleDelegateModal}
...@@ -223,14 +223,14 @@ export default function Landing() { ...@@ -223,14 +223,14 @@ export default function Landing() {
) : ( ) : (
'' ''
)} )}
<SmallButtonPrimary <ButtonPrimary
as={Link} as={Link}
to="/create-proposal" to="/create-proposal"
style={{ width: 'fit-content', borderRadius: '8px' }} style={{ width: 'fit-content', borderRadius: '8px', height: '40px' }}
padding="6px 8px" padding="8px"
> >
<Trans>Create Proposal</Trans> <Trans>Create Proposal</Trans>
</SmallButtonPrimary> </ButtonPrimary>
</AutoRow> </AutoRow>
</WrapSmall> </WrapSmall>
{!showUnlockVoting && ( {!showUnlockVoting && (
......
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