fix: incorrect centring of deleted user avatars in notification list (#3569)

This commit is contained in:
David Wheatley 2022-07-28 17:15:29 +01:00 committed by GitHub
parent e911b52b4c
commit 7d67cfd1e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,10 +140,11 @@
grid-area: avatar;
}
// Since images don't have baselines, aligning against the baseline won't work.
// Instead we need to do some manual hackery to fix then, otherwise they won't
// be correctly vertically aligned.
img.Avatar {
// Since images and empty elements don't have baselines, aligning against the
// baseline won't work. Instead we need to do some manual hackery to fix then,
// otherwise they won't be correctly vertically aligned.
img.Avatar,
.Avatar:empty {
align-self: flex-start;
margin-top: -2px;
}