mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 15:35:12 +00:00
upd: smoothly resize reply avatars depending on container size
This commit is contained in:
parent
7461332d0f
commit
bffac25c57
1 changed files with 2 additions and 1 deletions
|
@ -446,7 +446,8 @@ if (props.detail) {
|
||||||
}
|
}
|
||||||
|
|
||||||
&.replyRoot {
|
&.replyRoot {
|
||||||
--avatar: 36px;
|
/* @link https://utopia.fyi/clamp/calculator?a=450,580,26—36 */
|
||||||
|
--avatar: clamp(26px, -8.6154px + 7.6923cqi, 36px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue