1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

app_generator: more cleanup (#2314)

This commit is contained in:
Alexandre Aubin 2024-05-08 18:13:41 +02:00 committed by GitHub
parent f61a6dae1e
commit 96b24db28e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 10 deletions

View file

@ -47,8 +47,6 @@
}
.panel-body {
@apply p-2;
transition: max-height 0.2s ease-in;
max-height: 0px;
}
.alert-info {

View file

@ -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";
}
});
}
</script>