Label references look bad in Activity feed and Todos
-
Add a label with a dark enough background so that its foreground is
#FFFFFF
(white) -
Post a comment on an issue or MR that references that label (
~bug
) -
View activity feed:
Compared to the actual comment:
The problem is SanitizationFilter
is removing the custom style
attribute added by the render_colored_label
helper, but it still has the color: #FFF
definition from the label
CSS class, so it's unreadable on the white background.
The color: #FFF
property is defined by Bootstrap. I think the simplest solution is to just override it locally to be the standard text color when we're inside an activity feed.