The following CSS rule in comment.css does not apply to anything in D7:

.preview .comment {
  background-color: #ffffea;
}

The markup around previewed comments has changed. The proper class to target is .comment-preview.

CommentFileSizeAuthor
#1 1110842-1-comment-preview-color.patch308 bytesJohnAlbin
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

JohnAlbin’s picture

Status: Active » Needs review
FileSize
308 bytes

And here's the patch.

TR’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +Needs backport to D7

I verified that this patch applies cleanly in both D7 and D8 and works to restore the comment preview background color. This background color was present in D6, and from the .css it is clearly still intended to be there in D7 and D8. Patch properly fixes the broken selector.

Dries’s picture

Committed to 7.x and 8.x. Thanks!

TR’s picture

Status: Reviewed & tested by the community » Fixed

Verified this was committed. Changed status to fixed.

D7 commit e33de1cd77
D8 commit 1b2cd3a9d2

Status: Fixed » Closed (fixed)
Issue tags: -Needs backport to D7

Automatically closed -- issue fixed for 2 weeks with no activity.