mirror of
https://github.com/flarum/core.git
synced 2025-08-02 14:37:49 +02:00
fix: incorrect centring of deleted user avatars in notification list (#3569)
This commit is contained in:
@@ -140,10 +140,11 @@
|
|||||||
grid-area: avatar;
|
grid-area: avatar;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Since images don't have baselines, aligning against the baseline won't work.
|
// Since images and empty elements don't have baselines, aligning against the
|
||||||
// Instead we need to do some manual hackery to fix then, otherwise they won't
|
// baseline won't work. Instead we need to do some manual hackery to fix then,
|
||||||
// be correctly vertically aligned.
|
// otherwise they won't be correctly vertically aligned.
|
||||||
img.Avatar {
|
img.Avatar,
|
||||||
|
.Avatar:empty {
|
||||||
align-self: flex-start;
|
align-self: flex-start;
|
||||||
margin-top: -2px;
|
margin-top: -2px;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user