From 7eb9f4d9f7fb01e7bcb30371f4493978dca8bf71 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Wed, 17 Jan 2018 17:54:51 +0100 Subject: [PATCH] FIX: badge with box mode having incorrect background size This bug was hitting FX and IE --- app/assets/stylesheets/common/components/badges.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/common/components/badges.scss b/app/assets/stylesheets/common/components/badges.scss index f78542e0199..5230b27e822 100644 --- a/app/assets/stylesheets/common/components/badges.scss +++ b/app/assets/stylesheets/common/components/badges.scss @@ -120,8 +120,10 @@ &.badge-category-bg, &.badge-category-parent-bg { position: absolute; - width: 100%; - height: 100%; + top: 0; + right: 0; + bottom: 0; + left: 0; } &.badge-category-parent-bg { //subcategory style