mirror of
https://github.com/flarum/framework.git
synced 2025-02-01 00:28:29 +08:00
Fix image avatar alignment in notifications (#2906)
This commit is contained in:
parent
0cca808275
commit
d1e38558c5
|
@ -136,6 +136,14 @@
|
|||
.Avatar--size(24px);
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user