Modifying the Users Column to Display Only One Avatar
ljpp wants to modify the Users column in a Discourse topic list to display only one avatar, representing the latest poster. cpradio provides a CSS solution:
.topic-list .topic-list-item img.avatar:not(.latest) { display: none; }
This solution is further refined to adjust the width of the Users column:
.topic-list .posters { width: 50px; min-width: 50px; }
and center align the avatar:
.topic-list .posters { width: 50px; min-width: 50px; text-align: center; }
.topic-list .posters>a { float: none; margin: 0; }
ljpp confirms that these solutions work and plans to implement them on a high-volume forum to improve the default layout. Additionally, ljpp and cpradio work together to eliminate the blue halo around the avatar and fix alignment issues.
In a separate suggestion, ljpp recommends reducing the vertical padding around topic rows to display more topics in the view:
.topic-list th, .topic-list td { padding: 8px 5px;}