FIX: makes tag-{info,list} more specific to avoid styling other elements (#8902)
This commit is contained in:
parent
0d9b99582d
commit
0d6578dc4d
|
@ -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"),
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue