Notification text wrapping is inconsistent


(Joshua Rosenfeld) #1

Noticed this today in my notifications, it’s bugging me. Certain notifications wrap the topic title differently than others. In the image below, the accepted answer notification and the “invited to a private message” notification indent extra lines of text while the others do not.


(Kris) #2

Interesting. I’d expect it might vary by type, but there’s even some variation within specific notification types (PMs for example). We should be more consistent.

It looks like we structure the HTML differently. Some notifications contain a <p> element, some don’t. Are we doing something to detect length maybe (single vs multi-line notifications)?