Skip to content

Commit

Permalink
Update achievement styling from flex to grid
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasdeluna committed Nov 2, 2024
1 parent 25d8564 commit 8d4bd21
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions app/routes/users/components/UserProfile/UserProfile.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -115,20 +115,16 @@
box-shadow: var(--shadow-xs);
border-radius: var(--spacing-md);
border: 1.5px solid var(--border-gray);
display: flex;
align-items: baseline;
display: grid;
gap: var(--spacing-md);
min-width: 100%;
flex-wrap: wrap;
justify-content: center;
align-items: baseline;
grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr));
}

@media (--mobile-device) {
@media (max-width: 600px) {
.trophyCaseBox {
display: flex;
flex-direction: row;
align-items: baseline;
justify-content: center;
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

Expand Down

0 comments on commit 8d4bd21

Please sign in to comment.