Skip to content

Commit

Permalink
Fix image avatar alignment in notifications (#2906)
Browse files Browse the repository at this point in the history
  • Loading branch information
davwheat committed Jun 11, 2021
1 parent 0cca808 commit d1e3855
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions less/forum/NotificationList.less
Expand Up @@ -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;
Expand Down

0 comments on commit d1e3855

Please sign in to comment.