Skip to content

Commit

Permalink
Update ContestPage tabs and styling for mobile responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
masvelio committed Feb 11, 2025
1 parent b6697d5 commit bf918cd
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
flex-direction: column;
gap: 16px;

.ContestCard {
max-width: 100%;
}

.navigation-buttons {
display: flex;
gap: 12px;
Expand Down Expand Up @@ -37,6 +41,10 @@
display: none;
}

.mobile-tabs {
margin-top: 16px;
}

@include extraSmall {
.top-container {
.navigation-buttons {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.EntriesTab {
width: 100%;
padding: 24px;
padding-block: 16px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const EntriesTab = () => {
<CWText type="h3" fontWeight="semiBold">
Entries
</CWText>
{/* Add entries content here */}
Entries component here
</div>
);
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.PriceChartTab {
width: 100%;
padding: 24px;
padding-block: 16px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const PriceChartTab = () => {
<CWText type="h3" fontWeight="semiBold">
Price Chart
</CWText>
{/* Add price chart content here */}
Price Chart component here
</div>
);
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.TokenSwapTab {
width: 100%;
padding: 24px;
padding-block: 16px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const TokenSwapTab = () => {
<CWText type="h3" fontWeight="semiBold">
Token Swap
</CWText>
{/* Add token swap content here */}
Token Swap component here
</div>
);
};
Expand Down

0 comments on commit bf918cd

Please sign in to comment.