# Tags com título "box" exibindo como uma caixa grande

**URL:** <https://meta.discourse.org/t/tags-with-title-box-displaying-as-a-big-box/95779>\
**Category:** Bug\
**Created:** [Agosto 27, 2018, 8:35pm UTC](https://meta.discourse.org/t/tags-with-title-box-displaying-as-a-big-box/95779 "2018-08-27T20:35:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
**Post date:** [Agosto 27, 2018, 8:46pm UTC](https://meta.discourse.org/t/tags-with-title-box-displaying-as-a-big-box/95779/2 "2018-08-27T20:46:48Z")

</div>

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

---

_[View the full topic](https://meta.discourse.org/t/tags-with-title-box-displaying-as-a-big-box/95779)._
