mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-28 15:27:43 +00:00
Fix a few bugs with CSS generation for the new colored badges, and make sure the staff badge is visible.
This commit is contained in:
parent
7e24fa6c0e
commit
e5357596b6
3 changed files with 12 additions and 8 deletions
|
@ -921,7 +921,7 @@ module.exports = FFZ.utils = {
|
|||
'background-image: image-set(url("' + image_1x + '") 1x, url("' + image_2x + '") 2x, url("' + image_4x + '") 4x); }') +
|
||||
(data.no_color ? '' : '.badge.' + badge_id + '.version-' + version + '.colored {' +
|
||||
'background: linear-gradient(' + color + ',' + color + ');' +
|
||||
(is_svg ? '-webkit-mask-size: 18px 18px;mask-size: 18px 18px' : '') +
|
||||
(is_svg ? '-webkit-mask-size: 18px 18px;mask-size: 18px 18px;' : '') +
|
||||
'-webkit-mask-image: url("' + image_1x + '");' +
|
||||
'mask-image: url("' + image_1x + '");}');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue