Latest attribute only on first element in posters

(Kevin Prow) #1

So the blue blur around the avatar of the latest poster in a topic is only showing up if the person is displayed as the first avatar in the Users column (bold added for emphasis). Is there a reason for this? Or should it give the indicator regardless of the positioning of the avatar in the column?

.topic-list .posters **a:first-child** .avatar.latest:not(.single) {
    box-shadow: 0 0 3px 1px #acc2e3;
    border: 2px solid #8da9d3;
    position: relative;
    top: -2px;
    left: -2px;

(Jeff Atwood) #2

That indicates the topic creator was the last person to reply. Avoids duplicating avatars in the list.

(Kevin Prow) #3

Maybe I am misunderstanding it’s purpose, then. So it is an indication ONLY if the last person to reply was the topic author, not as an indication as to WHO the last person to reply was. Is that right?\

IE, now that I am the last one to post, I will have a blue indicator, but previous to this, you did not because it is by design only an indicator for the OP to have.

If so, that’d explain why I was confused as to why some topics had it and others didn’t. I expected it to just highlight whoever the last one was.

(Jeff Atwood) #4

Correct. Otherwise you have to duplicate avatars which is kludgey.