Problem/Motivation

If theme doesn't have background color defined for article, it will be white as default color provided by browser.
But when page is open in preview, background will be black, since that will be provided by iframe.

Proposed resolution

Set default background color for iframe to white, since it's default background color for page.

User interface changes

Actual page vs. How it looks currently in Preview vs. How it should look
Actual page vs. How it looks like currently in Preview vs. How it should look

CommentFileSizeAuthor
#3 2860540_3.patch364 bytesmtodor
in_preview.png150.1 KBmtodor
after_changes.png149.56 KBmtodor
actual_page.png183.13 KBmtodor

Comments

mtodor created an issue. See original summary.

mtodor’s picture

Issue summary: View changes
mtodor’s picture

Status: Active » Needs review
StatusFileSize
new364 bytes

Here is proposed solution -> white background is set for iframe where preview page is displayed (loaded).

  • chr.fritsch committed f9de4bb on 8.x-1.x authored by mtodor
    Issue #2860540 by mtodor: Black background instead of white
    
chr.fritsch’s picture

Status: Needs review » Fixed

Makes totally sense to me. Thank you

Status: Fixed » Closed (fixed)

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