Skip to content

Commit

Permalink
mobile responsive small fix (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
vnaysngh-mudrex authored Mar 11, 2024
1 parent a804ae0 commit 08191f7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/pages/Rewards/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,13 @@ const DefiSpringTitle = styled.div`
margin-bottom: 32px;
`

const DefiSpringTitleEarn = styled(DefiSpringTitle)`
@media (max-width: 768px) {
font-size: 16px;
margin-bottom: 0;
}
`

const DefiSpringSubTitle = styled.div`
display: flex; /* Establishes a flex container */
align-items: center; /* Centers the content vertically */
Expand Down Expand Up @@ -656,7 +663,9 @@ export default function Rewards() {
</DefiSpringWrapper>
</FirstColumn>
<MobileWrapper>
<DefiSpringTitle>Earn STRK incentives by providing liquidity to these pools:</DefiSpringTitle>
<DefiSpringWrapper>
<DefiSpringTitleEarn>Earn STRK incentives by providing liquidity to these pools:</DefiSpringTitleEarn>
</DefiSpringWrapper>
<Container>
<RowWrapper>
{pairsData.map(pair => (
Expand Down

0 comments on commit 08191f7

Please sign in to comment.