UX: More consistent structure for active nav-pill

This commit is contained in:
Kris 2019-03-06 16:09:37 -05:00
parent 941e096df4
commit 078c02cd24
3 changed files with 2 additions and 3 deletions

View File

@ -2,7 +2,7 @@ import { propertyEqual } from "discourse/lib/computed";
export default Ember.Component.extend({
tagName: "li",
classNameBindings: ["active", "tabClassName"],
classNameBindings: ["tabClassName"],
tabClassName: function() {
return "edit-category-" + this.get("tab");

View File

@ -1 +1 @@
<a href {{action "select"}}>{{title}}</a>
<a href {{action "select"}} class="{{if active 'active'}}">{{title}}</a>

View File

@ -48,7 +48,6 @@
}
}
&.active > a,
> a.active {
color: $secondary;
background-color: $quaternary;