Fix css variable names.
This commit is contained in:
parent
12596d62cd
commit
2afe9d1965
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@tp/tp-avatar",
|
"name": "@tp/tp-avatar",
|
||||||
"version": "1.0.2",
|
"version": "1.0.3",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "tp-avatar.js",
|
"main": "tp-avatar.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -16,6 +16,8 @@ class TpAvatar extends LitElement {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: relative;
|
position: relative;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
width: var(--tp-avatar-size, 32px);
|
||||||
|
height: var(--tp-avatar-size, 32px);
|
||||||
}
|
}
|
||||||
|
|
||||||
:host [hidden] {
|
:host [hidden] {
|
||||||
@ -43,8 +45,8 @@ class TpAvatar extends LitElement {
|
|||||||
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
--tp-icon-height: var(--ef-avatar-size, 32px);
|
--tp-icon-height: var(--tp-avatar-size, 32px);
|
||||||
--tp-icon-width: var(--ef-avatar-size, 32px);
|
--tp-icon-width: var(--tp-avatar-size, 32px);
|
||||||
}
|
}
|
||||||
|
|
||||||
tp-icon.hidden {
|
tp-icon.hidden {
|
||||||
|
Loading…
Reference in New Issue
Block a user