mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 10:14:29 -07:00
Use Font Awesome 5
This commit is contained in:
@@ -109,7 +109,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
|
||||
const $parent = $el.parentNode;
|
||||
if ($parent && $parent.classList.contains('bd-is-more')) {
|
||||
const showEl = '<button class="bd-show"><div><span class="icon"><i class="fa fa-code"></i></span> <strong>Show code</strong></div></button>';
|
||||
const showEl = '<button class="bd-show"><div><span class="icon"><i class="fas fa-code"></i></span> <strong>Show code</strong></div></button>';
|
||||
$el.insertAdjacentHTML('beforeend', showEl);
|
||||
} else if ($el.firstElementChild.scrollHeight > 480 && $el.firstElementChild.clientHeight <= 480) {
|
||||
$el.insertAdjacentHTML('beforeend', expandEl);
|
||||
|
||||
Reference in New Issue
Block a user