Add navbar documentation

This commit is contained in:
Jeremy Thomas
2017-07-02 22:07:30 +01:00
parent d5372f08af
commit 45a31d7b86
9 changed files with 742 additions and 68 deletions

View File

@@ -67,7 +67,7 @@ document.addEventListener('DOMContentLoaded', () => {
const expand = '<button class="expand">Expand</button>';
$el.insertAdjacentHTML('beforeend', copy);
if ($el.firstElementChild.scrollHeight > 600) {
if ($el.firstElementChild.scrollHeight > 320) {
$el.insertAdjacentHTML('beforeend', expand);
}