albingroen/react-cmdk

Overly aggressive CSS selectors break components

imjared opened this issue · 1 comments

Per the docs, an icon can take a React.FC. I'm trying to show a badge component that we use when we display projects. Normally this badge has its own styling included but it seems that it's blown away by some pretty aggressive rules:

This is kind of hard to do anything about since react-cmdk is built using Tailwind CSS for styling, which has quite an aggressive CSS reset built in.