The discussion revolves around a bug where the staff color applied to a staff member’s post incorrectly affects the quoted message in a reply. Silvanus reported the issue, noting that the staff color extends to the replied-to message, which is unintended. codinghorror pointed out that the test wasn’t valid since the reporter is staff, and after a corrected test, the issue was reproducible. sam suggested a CSS fix, explaining the challenges in selecting the correct elements, particularly the parent post’s avatar and meta data. awesomerobot implemented a quick fix by increasing CSS specificity. codinghorror and sam discussed the ongoing build issues and process improvements to prevent future delays.
A post was written by staff member. The post is a response to another post (by non-staff member) and has the “in response to X” symbol at the top right corner. (As it happens, the message is the one right above it.) Clicking the symbol opens up the message again on top of the message (showing the message to which the post is a reply to).
The post by staff member had staff color added. The color applied (bug!) to the replied message as well.
Just pushed a quick fix by adding additional specificity.
For future reference:
Selecting the nested replies: easy, because there’s .embedded-posts wrapping them
Selecting the parent post’s cooked content: easy, because it’s wrapped by .regular
Selecting the parent post’s avatar/meta: a little annoying, because there’s nothing distinguishing them from the .embedded-posts avatar/meta. At some point we should either expand the .regular wrapper to include the parent’s avatar/meta and cooked content, or just add a .regular class to them.