From eb105b6ec76f8260eb5a5cdf7aca003cc3189fcb Mon Sep 17 00:00:00 2001 From: Vignesh Mohankumar Date: Fri, 24 Mar 2023 18:33:28 -0400 Subject: [PATCH] fix: align /pools CTAs to the top (#6253) * fix: align /pools CTAs to the top * connor comments * Revert "connor comments" This reverts commit e8f25e8fa1ad013bb33084d77d1474883cd1dd9b. --- src/pages/Pool/CTACards.tsx | 38 +++++-------------------------------- 1 file changed, 5 insertions(+), 33 deletions(-) diff --git a/src/pages/Pool/CTACards.tsx b/src/pages/Pool/CTACards.tsx index 6156b0947e..5c63ea8856 100644 --- a/src/pages/Pool/CTACards.tsx +++ b/src/pages/Pool/CTACards.tsx @@ -19,14 +19,10 @@ const CTASection = styled.section` `}; ` -const CTA1 = styled(ExternalLink)` +const CTA = styled(ExternalLink)` padding: 16px; border-radius: 20px; - display: flex; - flex-direction: column; position: relative; - justify-content: center; - align-items: center; overflow: hidden; border: 1px solid ${({ theme }) => theme.deprecated_bg3}; @@ -45,30 +41,6 @@ const CTA1 = styled(ExternalLink)` } ` -const CTA2 = styled(ExternalLink)` - position: relative; - overflow: hidden; - padding: 16px; - border-radius: 20px; - display: flex; - flex-direction: column; - justify-content: center; - border: 1px solid ${({ theme }) => theme.deprecated_bg3}; - - * { - color: ${({ theme }) => theme.textPrimary}; - text-decoration: none !important; - } - - :hover { - border: 1px solid ${({ theme }) => theme.deprecated_bg4}; - text-decoration: none !important; - * { - text-decoration: none !important; - } - } -` - const HeaderText = styled(ThemedText.DeprecatedLabel)` align-items: center; display: flex; @@ -97,7 +69,7 @@ export default function CTACards() { return ( - + Learn about providing liquidity ↗ @@ -106,8 +78,8 @@ export default function CTACards() { Check out our v3 LP walkthrough and migration guides. - - + + Top pools ↗ @@ -116,7 +88,7 @@ export default function CTACards() { Explore Uniswap Analytics. - + ) }