SVG 배지 가져오기 시 표시되지 않는 버그 조사

After importing an SVG image as a badge, a bug occurred where the badge could not be displayed properly:


Icon that was set:

2개의 좋아요

I recognize that SVG! I think that’s from Font Awesome (sprout) — and it’s not working because they don’t include dimensions by default with their icons.

Our CSS for badge images uses width: 100%; capped by max-width but 100% of 0 is still 0.

I’m adding a little fix to Discourse that will avoid this problem.

If you update later today this should be fixed.

4개의 좋아요

This topic was automatically closed after 20 hours. New replies are no longer allowed.