Skip to content

Commit

Permalink
table
Browse files Browse the repository at this point in the history
  • Loading branch information
awidearray committed Nov 4, 2024
1 parent b0e9bd8 commit 2d937e2
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions src/components/ProfileHoldings.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,58 @@
.container {
width: 100%;
padding: 20px;
box-sizing: border-box;
}

@media (max-width: 768px) {
.container {
padding: 12px 8px;
overflow-x: hidden;
}

.holdingsTable {
width: calc(100% - 16px);
margin: 0 8px;
}

.holdingCell {
padding: 12px 8px;
}

.valueCell {
padding: 12px 8px;
}

.allocationCell {
padding: 12px 8px;
}

.tableHeader {
padding: 8px;
}

/* Adjust the holding info layout */
.holdingInfo {
gap: 8px;
}

.rankNumber {
min-width: 20px;
font-size: 18px;
}

.tokenLogo {
width: 28px;
height: 28px;
}

.tokenName {
font-size: 14px;
}

.tokenAmount {
font-size: 12px;
}
}

.holdingsTable {
Expand Down

0 comments on commit 2d937e2

Please sign in to comment.