UX: fix double li-element in mobile list control (#28840)
This commit is contained in:
parent
18fca966c5
commit
bca82e9dec
|
@ -51,14 +51,13 @@ export default class NavigationBarComponent extends Component {
|
|||
<:content>
|
||||
<DropdownMenu {{on "click" this.dMenu.close}} as |dropdown|>
|
||||
{{#each @navItems as |navItem|}}
|
||||
<dropdown.item>
|
||||
<NavigationItem
|
||||
@content={{navItem}}
|
||||
@filterMode={{@filterMode}}
|
||||
@category={{@category}}
|
||||
class={{concat "nav-item_" navItem.name}}
|
||||
/>
|
||||
</dropdown.item>
|
||||
<NavigationItem
|
||||
@content={{navItem}}
|
||||
@filterMode={{@filterMode}}
|
||||
@category={{@category}}
|
||||
class={{concat "nav-item_" navItem.name}}
|
||||
/>
|
||||
|
||||
{{/each}}
|
||||
<dropdown.item>
|
||||
<PluginOutlet
|
||||
|
|
|
@ -71,15 +71,13 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
&__item {
|
||||
a {
|
||||
display: block;
|
||||
color: var(--primary);
|
||||
a {
|
||||
display: block;
|
||||
color: var(--primary);
|
||||
|
||||
&.active {
|
||||
background: var(--d-selected);
|
||||
font-weight: bold;
|
||||
}
|
||||
&.active {
|
||||
background: var(--d-selected);
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue