diff --git a/libs/plugins-runtime/src/lib/plugin-modal.ts b/libs/plugins-runtime/src/lib/plugin-modal.ts index 8037e21..bd8f9b3 100644 --- a/libs/plugins-runtime/src/lib/plugin-modal.ts +++ b/libs/plugins-runtime/src/lib/plugin-modal.ts @@ -1,3 +1,6 @@ +const closeSvg = ` +`; + export class PluginModalElement extends HTMLElement { constructor() { super(); @@ -28,7 +31,7 @@ export class PluginModalElement extends HTMLElement { const closeButton = document.createElement('button'); closeButton.setAttribute('type', 'button'); - closeButton.textContent = '❌'; + closeButton.innerHTML = `
${closeSvg}
`; closeButton.addEventListener('click', () => { if (!this.shadowRoot) { return; @@ -98,6 +101,8 @@ export class PluginModalElement extends HTMLElement { h1 { color: #000; font-family: Arial, sans-serif; + margin: 0; + margin-block-end: 10px; } iframe {