Fix image avatar alignment in notifications (#2906)

This commit is contained in:
David Wheatley 2021-06-11 12:13:57 +01:00 committed by GitHub
parent 0cca808275
commit d1e38558c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,6 +137,14 @@
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 {
align-self: flex-start;
margin-top: -2px;
}
&-icon {
font-size: 14px;
grid-area: icon;