mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08:00
fix: incorrect centring of deleted user avatars in notification list (#3569)
This commit is contained in:
parent
e911b52b4c
commit
7d67cfd1e7
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user