mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 02:04:29 -07:00
Add navbar documentation
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user