Skip to content
Snippets Groups Projects
Commit 464cfded authored by Robert Goldmann's avatar Robert Goldmann
Browse files

Fixed #361 - category select is ignoring appropriate text color

parent 93834a4b
Branches
Tags
No related merge requests found
Pipeline #316 passed
......@@ -328,8 +328,8 @@ function beautifyCategorySelect() {
$(this).text(categoryName);
$(this).data("infos", categoryInfos);
$(this).addClass("category-select");
$(this).parent().prepend('<div class="category-circle-small category-select" id="category-' + counter + '" style="background-color: ' + categoryColor + '"><span style="color: ' + appropriateTextColor + '"></span></div>');
$('#categoryWrapper').parent().append('<style>#category-' + counter + ':after{content: "' + firstLetter + '";}</style>');
$(this).parent().prepend('<div class="category-circle-small category-select" id="category-' + counter + '" style="background-color: ' + categoryColor + '"><span></span></div>');
$('#categoryWrapper').parent().append('<style>#category-' + counter + ':after{content: "' + firstLetter + '"; color: ' + appropriateTextColor + ';}</style>');
counter++;
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment