Using FontAwesome is a nice way of styling lists...
Using FontAwesome is a nice way of styling lists (https://checkvist.com/checklists/486715-checkvist-customization-css-samples). However, it does not work with "[1]-style"-numbered entries.
It looks like the CSS counter is inserted at the very same location as the FontAwesome glyph (:before). Further, CSS attributes meant for the FontAwesome glyph – like color, size, font-weight, and spacing – are applied to the number, giving a strange look.
Currently I'm adding another rule for numbered lists:
.numberedList .tag_waiting .userContent:before {
content: counters(section, ".") ". \F017";
...
}
It looks like the CSS counter is inserted at the very same location as the FontAwesome glyph (:before). Further, CSS attributes meant for the FontAwesome glyph – like color, size, font-weight, and spacing – are applied to the number, giving a strange look.
Currently I'm adding another rule for numbered lists:
.numberedList .tag_waiting .userContent:before {
content: counters(section, ".") ". \F017";
...
}
You're right, mixing different formatting may cause some issues. The CSS styling is indeed an advanced option.
ReplyDeleteThanks a lot for finding a solution for numbering + icon case, I've updated the example of tag CSS styling to include it.