diff --git a/package.json b/package.json index 6a52574..26b1fa2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tp/tp-avatar", - "version": "1.0.2", + "version": "1.0.3", "description": "", "main": "tp-avatar.js", "scripts": { diff --git a/tp-avatar.js b/tp-avatar.js index 1f0a7bd..4edb0f4 100644 --- a/tp-avatar.js +++ b/tp-avatar.js @@ -16,6 +16,8 @@ class TpAvatar extends LitElement { display: inline-block; position: relative; border-radius: 50%; + width: var(--tp-avatar-size, 32px); + height: var(--tp-avatar-size, 32px); } :host [hidden] { @@ -43,8 +45,8 @@ class TpAvatar extends LitElement { position: absolute; inset: 0; - --tp-icon-height: var(--ef-avatar-size, 32px); - --tp-icon-width: var(--ef-avatar-size, 32px); + --tp-icon-height: var(--tp-avatar-size, 32px); + --tp-icon-width: var(--tp-avatar-size, 32px); } tp-icon.hidden {