mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-01-30 19:42:57 -05:00
[Glitch] Fix the appearance of avatars when they do not load
Port 8b708340356e18696e5ab9e83067ce9297e481f7 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
0820cbcb35
commit
d77348f830
@ -2196,13 +2196,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…
x
Reference in New Issue
Block a user