Browse Source

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

dariusk-working/4_3_0
Renaud Chaput 2 years ago committed by GitHub
parent
commit
8b70834035
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      app/javascript/styles/mastodon/components.scss

3
app/javascript/styles/mastodon/components.scss

@ -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 {

Loading…
Cancel
Save