Adjustments to the mobile menu, part 2.
This commit is contained in:
parent
37218ed069
commit
52fcea72aa
2 changed files with 7 additions and 3 deletions
|
|
@ -133,6 +133,12 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&__region {
|
||||||
|
&:not(:empty) {
|
||||||
|
margin-bottom: .5rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&__navbar {
|
&__navbar {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,7 @@
|
||||||
</svg>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
<div class="mobile-nav__sheet" id="sheet" aria-hidden="true">
|
<div class="mobile-nav__sheet" id="sheet" aria-hidden="true">
|
||||||
<div class="mobile-nav__region">
|
<div class="mobile-nav__region">{{ if site.IsMultiLingual }}{{ partial "language-selector.html" . }}{{ end }}</div>
|
||||||
{{ if site.IsMultiLingual }}{{ partial "language-selector.html" . }}{{ end }}
|
|
||||||
</div>
|
|
||||||
<nav class="mobile-nav__main-menu" aria-label="{{ i18n "menu_title" }}">
|
<nav class="mobile-nav__main-menu" aria-label="{{ i18n "menu_title" }}">
|
||||||
<ul class="mobile-nav__navbar">
|
<ul class="mobile-nav__navbar">
|
||||||
{{ if site.Menus.main -}}
|
{{ if site.Menus.main -}}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue