diff --git a/public/src/modules/helpers.common.js b/public/src/modules/helpers.common.js index 93c7961dbc..bd17abef87 100644 --- a/public/src/modules/helpers.common.js +++ b/public/src/modules/helpers.common.js @@ -89,12 +89,12 @@ module.exports = function (utils, Benchpress, relative_path) { return `${category.icon ? `` : ''}`; } - function buildCategoryLabel(category) { + function buildCategoryLabel(category, className = '') { if (!category) { return ''; } - return ` + return ` ${category.icon ? `` : ''} ${category.name} `; @@ -108,6 +108,7 @@ module.exports = function (utils, Benchpress, relative_path) { if (category.bgColor) { style.push('background-color: ' + category.bgColor); + style.push(`border-color: ${category.bgColor}!important`); } if (category.color) {