Skip to content

Commit 7d1238f

Browse files
committed
Always add background white to iframes
1 parent 17c7b7e commit 7d1238f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/javascript/components/bootcamp/CSSExercisePage/utils/updateIFrame.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ export function updateIFrame(
2828
<html>
2929
<head>
3030
<style>
31+
body{
32+
background: white;
33+
}
3134
${code.default.css}
3235
${css}
3336
</style>

0 commit comments

Comments
 (0)