Improve greedy navigation's layout when JavaScript is disabled
This commit is contained in:
parent
a8d7bf2237
commit
614b6bdf92
2 changed files with 11 additions and 1 deletions
|
@ -22,7 +22,7 @@
|
||||||
</svg>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<button class="greedy-nav__toggle" type="button">
|
<button class="greedy-nav__toggle hidden" type="button">
|
||||||
<span class="visually-hidden">{{ site.data.ui-text[site.locale].menu_label | default: "Toggle Menu" }}</span>
|
<span class="visually-hidden">{{ site.data.ui-text[site.locale].menu_label | default: "Toggle Menu" }}</span>
|
||||||
<div class="navicon"></div>
|
<div class="navicon"></div>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -309,6 +309,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.no-js {
|
||||||
|
.greedy-nav {
|
||||||
|
.visible-links {
|
||||||
|
-ms-flex-wrap: wrap;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
overflow: visible;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Navigation list
|
Navigation list
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
Loading…
Reference in a new issue