Closed pedroborges closed 6 years ago
@pedroborges Thanks. What classcat version were you using and can you post the original code you used? What is that diff telling me?
I am trying to repro this issue here to no avail. 🤔
Does 'text-white bg-grey': isAccepted(order)
works? it is the same order as 'text-white bg-grey': isPending(order)
.
@pedroborges Could this be a bug with your CSS and not in classcat?
Thanks for the input guys! I have reverted the order of the classes for that particular item and it's working fine today. Yesterday I must have messed it somehow 😕
I'm using a utility framework with Classcat and it wasn't rendering the classes for one of the checks even thought it was evaluating to
true
. Switching the order of the classes, or renaming the first class made it work.I'm reporting because it looks like a bug.