Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rewards page mobile responsive fixes #279

Merged
merged 1 commit into from
Mar 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 5 additions & 19 deletions src/pages/Rewards/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ const ClaimHeader = styled.div`
color: white; /* White text color */
display: flex;
align-items: center; /* Vertically centers the content */

@media (max-width: 768px) {
width: fit-content;
}
`

const ClaimHeaderText = styled.div`
Expand Down Expand Up @@ -217,9 +221,9 @@ const DefiSpringTitle = styled.div`
`

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

Expand Down Expand Up @@ -675,24 +679,6 @@ export default function Rewards() {
</Container>
</MobileWrapper>
</RowContainer>
{/*
<CardSection>
<AutoColumn gap="md">
<ResponsiveRow>
<RowFixed style={{ width: '35%' }}>
<DefiSpringWrapper>
<DefiSpringTitle>StarkNet DeFi Spring</DefiSpringTitle>
<DefiSpringSubTitle>
40M <img src={StarkIcon} alt="starknet_logo" /> STRK
</DefiSpringSubTitle>
<IncentivesText>
JediSwap users will receive STRK incentives as part of the StarkNet DeFi Spring Program.
</IncentivesText>
</DefiSpringWrapper>
</RowFixed>
</ResponsiveRow>
</AutoColumn>
</CardSection> */}
</LiquidityWrapperCard>
<LiquidityWrapperCard>
<RowBetween>
Expand Down
Loading