Fix the appearance of avatars when they do not load (#31966)

This commit is contained in:
Renaud Chaput 2024-09-18 19:39:15 +02:00 committed by GitHub
parent e3baa1cdda
commit 8b70834035
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -2032,13 +2032,14 @@ body > [data-popper-placement] {
display: block;
position: relative;
border-radius: var(--avatar-border-radius);
background-color: var(--surface-background-color);
img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
border-radius: var(--avatar-border-radius);
display: inline-block; // to not show broken images
}
&-inline {