Skip to content

Commit

Permalink
fix: use white background for v2 runtime's "embed block" view
Browse files Browse the repository at this point in the history
  • Loading branch information
bradenmacdonald committed Oct 5, 2024
1 parent ab1bf19 commit 4cebb49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cms/templates/content_libraries/xblock_iframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
<!-- The default stylesheet will set the body min-height to 100% (a common strategy to allow for background
images to fill the viewport), but this has the undesireable side-effect of causing an infinite loop via the onResize
event listeners below, in certain situations. Resetting it to the default "auto" skirts the problem.-->
<body style="min-height: auto">
<body style="min-height: auto; background-color: white;">
<!-- fragment body -->
{{ fragment.body_html | safe }}
<!-- fragment foot -->
Expand Down

0 comments on commit 4cebb49

Please sign in to comment.