Fix hidden teams

This commit is contained in:
rxdn 2023-04-28 17:23:10 +01:00
parent 707744de74
commit d64062eab1

View File

@ -28,7 +28,7 @@
<hr/>
</div>
<div bind:this={content} class="content">
<div bind:this={content} class="content" class:expanded={expanded}>
<slot name="content"></slot>
</div>
</div>
@ -69,7 +69,13 @@
updateSize();
}
if (expanded) {
expanded = !expanded;
} else {
setTimeout(() => {
expanded = !expanded;
}, 300);
}
}
function updateSize() {
@ -106,6 +112,10 @@
max-height: 0;
}
.content.expanded {
overflow: unset !important;
}
.inline {
display: flex;
flex-direction: row;