diff --git a/packages/embeds/embed-core/src/embed.ts b/packages/embeds/embed-core/src/embed.ts index 9a2c47a4bd..856324a5aa 100644 --- a/packages/embeds/embed-core/src/embed.ts +++ b/packages/embeds/embed-core/src/embed.ts @@ -270,8 +270,9 @@ export class Cal { if (!element) { throw new Error("Element not found"); } + element.classList.add("cal-inline-container"); const template = document.createElement("template"); - template.innerHTML = ``; + template.innerHTML = ``; this.inlineEl = template.content.children[0]; (this.inlineEl as unknown as any).__CalAutoScroll = config.__autoScroll; this.inlineEl.appendChild(iframe);