Tags with title "box" displaying as a big box

Ah, so this is a class collision… this can actually a problem with any CSS we prefix with tag- for example, it also breaks if you use the tag name “chooser” because of our class .tag-chooser

There are a couple ways to solve this, but unfortunately this will break tag styling for anyone who’s done it:

  • Use a data attribute instead of a class for targeting tags with CSS
  • Come up with a more verbose class name like .tag-name-box

We could alternatively never use .tag- in core CSS, but that’s a big restriction to assume

8 Likes