User tkrunning reported that custom CSS applied to embedded topics on their blog stopped working recently, despite using the latest Discourse beta (v2.1.0.beta1 +149). Their CSS targeted styling for links, buttons, and staff usernames. sam assigned Osama to investigate. Osama confirmed the CSS was working on tkrunning’s site and added a test to the spec suite to prevent future regressions PR #5986. tkrunning later resolved the issue by temporarily disabling and re-enabling theme components, though the root cause remains unclear. The issue appears resolved for now, with safeguards added to prevent recurrence.
I’ve been using the embedded topics as comments on my blog for a while, and the styling has worked fine until now (by adding my own CSS in the Embedded CSS section.
However, now it has suddenly stopped working. I’m not sure when exactly, I only noticed it today. Probably it has happened in the last week. I’m running the very latest beta build of Discourse (v2.1.0.beta1 +149).
There shouldn’t be anything wrong with my CSS, but I’ve included it here for good measure:
Thanks for looking into it! I got it working yesterday by first disabling all the theme components I had activated in my theme (Linkify, the header menu icons, and a tracking script). But after reactivating each of them (one by one to try to spot the offender), the embedded topics continued to work as expected, so not sure what happened.