Resize emoji if its only content in reply


#1

I want to increase the size of the emoji if it is the only content in reply to a topic. Is there some javascript to do this, like adding a css class for scale?


(Michael Howell) #2
.cooked p:first-child:last-child .emoji:first-child:last-child {
    width: 40px;
    height: 40px;
}

#3

Actual does this not work
image

Imho there is no css only solution, that why i asked for javascript. Parse all reply and add one class to emoji if it the only content in reply.


(Michael Howell) #4

You’re right, my mistake…