diff --git a/tools/app_generator/static/tailwind-local.css b/tools/app_generator/static/tailwind-local.css index 69fb5155..d77f57d5 100644 --- a/tools/app_generator/static/tailwind-local.css +++ b/tools/app_generator/static/tailwind-local.css @@ -47,8 +47,6 @@ } .panel-body { @apply p-2; - transition: max-height 0.2s ease-in; - max-height: 0px; } .alert-info { diff --git a/tools/app_generator/templates/index.html b/tools/app_generator/templates/index.html index d0e5c436..8a455127 100644 --- a/tools/app_generator/templates/index.html +++ b/tools/app_generator/templates/index.html @@ -370,16 +370,8 @@ for (i = 0; i < coll.length; i++) { coll[i].addEventListener("click", function() { - this.nextElementSibling.classList.toggle("hide"); this.classList.toggle("active"); - - var content = this.nextElementSibling; - if (content.style.maxHeight){ - content.style.maxHeight = null; - } else { - content.style.maxHeight = content.scrollHeight + "px"; - } }); }