CSS collision on topics tagged "list" breaks header

This CSS rule collides with an automatically added class “tag-list” on the body element on topics tagged with “list”.

.tag-list {
  margin-top: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid $primary-low;
}

This adds a 2em margin to the top of the header which looks pretty silly.
This reproduces on try.discourse.org.

This is the SCSS file responsible:

https://github.com/discourse/discourse/blob/master/app/assets/stylesheets/common/base/tagging.scss#L7

4 Likes

Will be fixed by:

Thanks for report.

8 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.