Skip to content

Commit

Permalink
Aswathy/fix: Overlap between the text and CTA in the Markets page (bi…
Browse files Browse the repository at this point in the history
…nary-com#2936)

* fix: overlapping text

* fix: removed the width
  • Loading branch information
aswathy-deriv authored Apr 26, 2022
1 parent 0bcb276 commit 0f33b04
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/pages/markets/components/sections/_other-markets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ const LearnMore = styled(LocalizedLink)`
opacity: ${(props) => (props.visibility === 'true' ? '1' : '0')};
width: 142px;
height: 40px;
border-radius: 23px;
background-color: var(--color-grey-18);
border-radius: 100px;
background-color: var(--color-white);
position: absolute;
bottom: -20px;
margin-left: auto;
Expand All @@ -111,6 +111,7 @@ const LearnMore = styled(LocalizedLink)`
align-items: center;
text-decoration: none;
transition: opacity 0.1s linear;
box-shadow: 0 4px 8px 0 rgba(14, 14, 14, 0.1);
${Text} {
font-weight: bold;
Expand Down Expand Up @@ -153,6 +154,8 @@ const StyledFlex = styled(Flex)`
&:hover {
box-shadow: 0 4px 8px 0 rgba(14, 14, 14, 0.1);
height: 316px;
border-radius: 0 0 8px 8px;
}
${LearnMore} {
img {
Expand All @@ -176,7 +179,7 @@ const settings = {
},
slide_style: {
width: '282px',
height: '320px',
height: '350px',
marginRight: '24px',
paddingRight: '50px',
paddingLeft: '25px',
Expand Down Expand Up @@ -239,7 +242,7 @@ const MobileCard = ({ market }: CardProps) => {
}
const MarketsWrapper = styled(Flex)`
flex-direction: column;
padding: 0 0 120px 0;
padding: 0 0 80px 0;
max-width: 100%;
`

Expand Down

0 comments on commit 0f33b04

Please sign in to comment.