diff --git a/VERSION b/VERSION index 8a9ecc2..7bcd0e3 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.1 \ No newline at end of file +0.0.2 \ No newline at end of file diff --git a/text-element.js b/text-element.js index 146c648..b9d2066 100644 --- a/text-element.js +++ b/text-element.js @@ -5,12 +5,7 @@ class TextElement extends HTMLElement { } this.config = config; const card = document.createElement('text-element'); - this.content = document.createElement('div'); - this.content.style.padding = '8px'; - this.content.style.transform= 'none'; - card.appendChild(this.content); - this.appendChild(card); - this.content.innerHTML = this.config.text; + this.innerHTML = this.config.text; } getCardSize() { return 1;