Fix css variable names.
This commit is contained in:
parent
12596d62cd
commit
2afe9d1965
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@tp/tp-avatar",
|
||||
"version": "1.0.2",
|
||||
"version": "1.0.3",
|
||||
"description": "",
|
||||
"main": "tp-avatar.js",
|
||||
"scripts": {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user