diff --git a/README.md b/README.md index 4f003fa..3a72eb3 100644 --- a/README.md +++ b/README.md @@ -54,3 +54,8 @@ In the Explorer view, using the "Download" context menu item on the workspace fo ### 1.0.0 Initial release of Sandbox! + +### 1.0.1 + +Change default styles to not conflict with user's `body` `background` styling. + \ No newline at end of file diff --git a/src/htmlView.ts b/src/htmlView.ts index 7e62271..117766a 100644 --- a/src/htmlView.ts +++ b/src/htmlView.ts @@ -108,7 +108,7 @@ export class HTMLView { document.head.prepend(style); const defaultStyle = document.createElement("style"); - defaultStyle.textContent = "html{background-color:white;}"; + defaultStyle.textContent = "body{background-color:white;}"; document.head.prepend(defaultStyle); const script = document.createElement("script");