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:
parent
f61a6dae1e
commit
96b24db28e
2 changed files with 0 additions and 10 deletions
|
@ -47,8 +47,6 @@
|
|||
}
|
||||
.panel-body {
|
||||
@apply p-2;
|
||||
transition: max-height 0.2s ease-in;
|
||||
max-height: 0px;
|
||||
}
|
||||
|
||||
.alert-info {
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue