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

This commit is contained in:
Renaud Chaput authored and GitHub committed 2024-09-18 17:39:15 +00:00
1 parent e3baa1cdda
commit 8b70834035
1 file changed
+2 -1
@@ -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 {