Skip to content

body color doesn't work with iFrame embeds #1832

Open
@tomasreimers

Description

@tomasreimers

The ?bodyColor URL parameter for iframe embeds doesn't work. This appears to be because it generates the HTML:

<style>
  #full-embed body {
    background-color: ...
  }
</style>

While the actual shape of the page is of the form:

<body> 
  <div className="full-embed">

  </div>
</body>

So the body selector never matches b/c it's not embedded in #full-embed.

You could fix this by removing the #full-embed from the injected CSS.

Metadata

Metadata

Assignees

Labels

3.0Issue will be completed along or soonafter 3.0 releaseBug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions