Added binding to content (#3868)

Signed-off-by: Oleg Solodkov <oleg.solodkov@xored.com>
This commit is contained in:
Oleg Solodkov 2023-10-23 19:24:00 +04:00 committed by GitHub
parent 0b822224d5
commit dfbd48cc7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -208,7 +208,11 @@
{/if}
</div>
{:else if withoutContentScroll}
<div class={contentClasses ?? 'popupPanel-body__main-content py-8 clear-mins'} class:max={useMaxWidth}>
<div
bind:this={content}
class={contentClasses ?? 'popupPanel-body__main-content py-8 clear-mins'}
class:max={useMaxWidth}
>
<slot />
{#if !withoutActivity}
{#key object._id}