static-fe: don’t squeeze non-square avatars
Some checks are pending
ci/woodpecker/pr/build-amd64 Pipeline is pending
ci/woodpecker/pr/build-arm64 Pipeline is pending
ci/woodpecker/pr/docs Pipeline is pending
ci/woodpecker/pr/lint Pipeline is pending
ci/woodpecker/pr/test Pipeline is pending

This will crop them to a square matching behaviour of Husky and *key
and allowing us to never worry about consistent alignment.
Note, akkoma-fe instead displays the full image with inserted spacing.
This commit is contained in:
Oneric 2024-02-23 23:39:44 +00:00
parent a0daec6ea1
commit d7c8e9df27

View file

@ -441,6 +441,7 @@ summary {
.avatar img { .avatar img {
border-radius: 3px; border-radius: 3px;
box-shadow: var(--avatarShadow); box-shadow: var(--avatarShadow);
object-fit: cover;
} }
.user-summary { .user-summary {