mirror of
https://github.com/jgthms/bulma
synced 2026-03-22 05:04:28 -07:00
Fix #856
This commit is contained in:
@@ -69,7 +69,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
var expand = '<button class="expand">Expand</button>';
|
||||
$el.insertAdjacentHTML('beforeend', copy);
|
||||
|
||||
if ($el.firstElementChild.scrollHeight > 320) {
|
||||
if ($el.firstElementChild.scrollHeight > 480 && $el.firstElementChild.clientHeight <= 480) {
|
||||
$el.insertAdjacentHTML('beforeend', expand);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user