scale avatar size on font size
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
This commit is contained in:
parent
4e775242b6
commit
b077879759
1 changed files with 4 additions and 4 deletions
|
@ -50,7 +50,7 @@ main {
|
|||
}
|
||||
|
||||
.avatar {
|
||||
width: 90px;
|
||||
width: calc(var(--font-size) * 5);
|
||||
border-radius: 50%;
|
||||
float: right;
|
||||
}
|
||||
|
@ -62,11 +62,11 @@ main {
|
|||
}
|
||||
|
||||
.avatar {
|
||||
float: none;
|
||||
width: 80px;
|
||||
position: absolute;
|
||||
width: calc(var(--font-size) * 4);
|
||||
transform: translate(
|
||||
calc(var(--font-size) * -19),
|
||||
calc(var(--font-size) * -3)
|
||||
calc(var(--font-size) * -3.7)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue