Fix commit avatar alignment in compare view Closes #19567 See merge request !5128
mentioned in commit 43d6c0be