Skip to content

Commit

Permalink
Merge pull request #95 from poap-xyz/release/v1.6.1
Browse files Browse the repository at this point in the history
Release v1.6.1
  • Loading branch information
jm42 authored Aug 1, 2023
2 parents 67116ce + 143d278 commit f95df0b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@poap-xyz/poap-family",
"version": "1.6.0",
"version": "1.6.1",
"author": {
"name": "POAP",
"url": "https://poap.xyz"
Expand Down
1 change: 1 addition & 0 deletions src/components/Stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ function Stats({ stats, highlight }) {
style={{
paddingLeft: highlight !== statName && index === 0 ? '.5rem' : undefined,
paddingRight: highlight !== statName && index + 1 === entries.length ? '.5rem' : undefined,
marginLeft: highlight && highlight !== statName ? '.5rem' : undefined,
}}
>
<div className="stat-content">
Expand Down
9 changes: 5 additions & 4 deletions src/styles/stats.css
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
.stats {
display: inline-block;
border: .5rem solid white;
border: .35rem solid white;
border-radius: 1.62rem;
margin-top: .4rem;
background-color: white;
}

.stats.highlighted {
border-color: #efeeff;
}

.stats .stats-content {
margin: -.5rem;
margin: -.35rem;
display: flex;
}

.stat {
padding: .5rem 0;
border: .5rem solid transparent;
padding: .35rem 0;
border: .35rem solid transparent;
border-radius: 1.62rem;
align-self: center;
}
Expand Down

0 comments on commit f95df0b

Please sign in to comment.