Avatar is missing when you size down the browser

(Sam Saffron) #1

There is no longer the blue highlight on a user if they are the only user, so this happens

cc @awesomerobot

(Jeff Atwood) #2

We need to use first-child or last-child there, not count on that class being present.

Or suppress the highlight another way.

(lid) #3

###option 1
with the following rule the avatar a>img can have their class .latest restored. box shadow will only apply to a poster avatar if there are multiple posters.

.topic-list a:not(:only-of-type) .avatar.latest{
  box-shadow: 0 0 6px 1px #4eabda;

###option 2

restore the class .latest to the a tag and modify the existed rule to the following rule to prevent hiding of a one poster in the list
The missing .latest on the a tag, will produce an aligned avatars

.topic-list .posters a:not(.latest):not(:only-of-type) {
display: none;

(Sam Saffron) #4

This is now fixed


(Sam Saffron) #5