mirror of
https://github.com/go-gitea/gitea
synced 2025-10-29 10:28:24 +00:00
Fix the shaking issue for avatars with an aspect ratio that is not 1:1.
This commit is contained in:
@@ -463,7 +463,6 @@ img.ui.avatar,
|
||||
.ui.avatar svg {
|
||||
border-radius: var(--border-radius);
|
||||
object-fit: contain;
|
||||
aspect-ratio: 1;
|
||||
}
|
||||
|
||||
.ui.error.message .header,
|
||||
|
||||
@@ -43,7 +43,6 @@
|
||||
|
||||
.user.profile .ui.card #profile-avatar img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
@media (max-width: 767.98px) {
|
||||
|
||||
Reference in New Issue
Block a user