Commit 574fab54 authored by Yuta Sugimura's avatar Yuta Sugimura Committed by GitHub

fix: props for ResponsiveButtonPrimary (#1839)

* fix: props for ResponsiveButtonPrimary

* fix ResponsiveButtonPrimary style
parent 8e581c19
......@@ -54,6 +54,7 @@ const ButtonRow = styled(RowFixed)`
const ResponsiveButtonPrimary = styled(ButtonPrimary)`
width: fit-content;
border-radius: 12px;
${({ theme }) => theme.mediaWidth.upToSmall`
width: 48%;
`};
......@@ -175,24 +176,12 @@ export default function Pool() {
<ResponsiveButtonSecondary as={Link} padding="6px 8px" to="/add/v2/ETH">
<Trans>Create a pair</Trans>
</ResponsiveButtonSecondary>
<ResponsiveButtonPrimary
id="find-pool-button"
as={Link}
padding="6px 8px"
borderRadius="12px"
to="/pool/v2/find"
>
<ResponsiveButtonPrimary id="find-pool-button" as={Link} to="/pool/v2/find" padding="6px 8px">
<Text fontWeight={500} fontSize={16}>
<Trans>Import Pool</Trans>
</Text>
</ResponsiveButtonPrimary>
<ResponsiveButtonPrimary
id="join-pool-button"
as={Link}
padding="6px 8px"
borderRadius="12px"
to="/add/v2/ETH"
>
<ResponsiveButtonPrimary id="join-pool-button" as={Link} to="/add/v2/ETH" padding="6px 8px">
<Text fontWeight={500} fontSize={16}>
<Trans>Add V2 Liquidity</Trans>
</Text>
......
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