FIX: makes tag-{info,list} more specific to avoid styling other elements (#8902)

This commit is contained in:
Joffrey JAFFEUX 2020-02-10 08:41:39 +01:00 committed by GitHub
parent 0d9b99582d
commit 0d6578dc4d
2 changed files with 10 additions and 5 deletions

View File

@ -4,7 +4,12 @@ import Component from "@ember/component";
import Category from "discourse/models/category"; import Category from "discourse/models/category";
export default Component.extend({ export default Component.extend({
classNameBindings: [":tag-list", "categoryClass", "tagGroupNameClass"], classNameBindings: [
":tags-list",
":tag-list",
"categoryClass",
"tagGroupNameClass"
],
isPrivateMessage: false, isPrivateMessage: false,
sortedTags: sort("tags", "sortProperties"), sortedTags: sort("tags", "sortProperties"),

View File

@ -3,17 +3,17 @@
margin-top: 3px; margin-top: 3px;
} }
.tag-list { .tags-list {
margin-top: 2em; margin-top: 2em;
padding-bottom: 1em; padding-bottom: 1em;
border-bottom: 1px solid $primary-low; border-bottom: 1px solid $primary-low;
} }
#list-area .tag-list h3 { #list-area .tags-list h3 {
margin-bottom: 20px; margin-bottom: 20px;
} }
.tag-list .tag-box { .tags-list .tag-box {
display: inline-block; display: inline-block;
width: 300px; width: 300px;
margin-bottom: 1em; margin-bottom: 1em;
@ -269,7 +269,7 @@ header .discourse-tag {
} }
} }
.tag-info { section.tag-info {
margin: 1em 0; margin: 1em 0;
padding: 2em; padding: 2em;
border: 1px solid $primary-low; border: 1px solid $primary-low;