Commit 83fa3983094ded6ebf49a34c020b0b446403c940
1 parent
e0ee47ec
Exists in
master
and in
1 other branch
improving badge view
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
public/style.css
| ... | ... | @@ -28,6 +28,8 @@ |
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | .gamification-notification .badge .image, |
| 31 | +.gamification li.badge { | |
| 32 | +} | |
| 31 | 33 | .gamification .badge .image { |
| 32 | 34 | width: 120px; |
| 33 | 35 | height: 90px; |
| ... | ... | @@ -37,6 +39,7 @@ |
| 37 | 39 | background-color: rgba(128, 128, 128, 0.25); |
| 38 | 40 | margin-left: auto; |
| 39 | 41 | margin-right: auto; |
| 42 | + background-size: contain; | |
| 40 | 43 | } |
| 41 | 44 | |
| 42 | 45 | .gamification .badge { |
| ... | ... | @@ -187,7 +190,7 @@ |
| 187 | 190 | position: relative; |
| 188 | 191 | font-size: 20px; |
| 189 | 192 | width: 1.1em; |
| 190 | - bottom: 22px; | |
| 193 | + bottom: 0px; | |
| 191 | 194 | } |
| 192 | 195 | .rating > span.earned:before { |
| 193 | 196 | content: "\2605"; | ... | ... |