I’m not an expert, but this is probably what I would do…
This is the kind of thing that requires troubleshooting. Unless someone just happened to have the same exact issue and responds, saving you the trouble.
Assuming you didn’t make any changes or add any new third party plugins prior to the issue occurring…
Possible causes…
-
The Obsidian app itself could have updated and that changed the tag pill display. In this case, you might have to adjust your css. See below.
-
A third party plugin updated and that changed the css. Again, your css snippet could over ride this if set up properly.
-
Your theme could have updated and that changed the css. Again, css snippet.
In any case, the only way to figure it out is by experimenting. Try switching to the default theme, try disabling suspect plugins that change appearance, you might need to disable all the plugins (do half at a time to quickly narrow in on which half contain the problem and then repeat with the remainder until you find the culprit).
Its entirely possible that your css snippet is missing an “!important;” that would override the theme or a plugin css. Again, you have to experiment.