Commit 83fa3983094ded6ebf49a34c020b0b446403c940

Authored by Leandro Santos
1 parent e0ee47ec

improving badge view

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