mirror of
https://github.com/flarum/core.git
synced 2025-07-23 09:41:26 +02:00
Fix image avatar alignment in notifications (#2906)
This commit is contained in:
@@ -137,6 +137,14 @@
|
|||||||
grid-area: avatar;
|
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 {
|
&-icon {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
grid-area: icon;
|
grid-area: icon;
|
||||||
|
Reference in New Issue
Block a user