refactor(core): ♻️ wrap menu list in container

This commit is contained in:
alistair3149 2024-05-09 14:38:07 -04:00
parent da366a992a
commit 4c6ae1e74d
No known key found for this signature in database
3 changed files with 14 additions and 14 deletions

View file

@ -11,6 +11,11 @@
letter-spacing: 0.05em;
}
&__content-list {
margin: 0;
list-style: none;
}
.mw-list-item {
line-height: var( --line-height-xs );
@ -48,11 +53,6 @@
}
}
}
ul {
margin: 0;
list-style: none;
}
}
// FIXME: This should not be here

View file

@ -1,16 +1,8 @@
{{!
}}
<nav id="{{id}}" class="citizen-menu{{#class}} {{.}}{{/class}}" {{{html-tooltip}}} {{{html-userlangattributes}}}>
{{#label}}
<div class="citizen-menu__heading{{#label-class}} {{.}}{{/label-class}}">
{{{.}}}
</div>
{{/label}}
{{{html-before-portal}}}
<ul>
{{#array-list-items}}{{>MenuListItem}}{{/array-list-items}}
{{#html-items}}{{{.}}}{{/html-items}}
</ul>
{{{html-after-portal}}}
{{>MenuContents}}
</nav>

View file

@ -0,0 +1,8 @@
<div class="citizen-menu__content">
{{{html-before-portal}}}
<ul class="citizen-menu__content-list">
{{#array-list-items}}{{>MenuListItem}}{{/array-list-items}}
{{#html-items}}{{{.}}}{{/html-items}}
</ul>
{{{html-after-portal}}}
</div>