From 83fa3983094ded6ebf49a34c020b0b446403c940 Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Fri, 14 Aug 2015 09:32:55 -0300 Subject: [PATCH] improving badge view --- public/style.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/public/style.css b/public/style.css index 1e358f7..46895e8 100644 --- a/public/style.css +++ b/public/style.css @@ -28,6 +28,8 @@ } .gamification-notification .badge .image, +.gamification li.badge { +} .gamification .badge .image { width: 120px; height: 90px; @@ -37,6 +39,7 @@ background-color: rgba(128, 128, 128, 0.25); margin-left: auto; margin-right: auto; + background-size: contain; } .gamification .badge { @@ -187,7 +190,7 @@ position: relative; font-size: 20px; width: 1.1em; - bottom: 22px; + bottom: 0px; } .rating > span.earned:before { content: "\2605"; -- libgit2 0.21.2