diff --git a/src/vs/workbench/parts/html/browser/htmlPreviewPart.ts b/src/vs/workbench/parts/html/browser/htmlPreviewPart.ts
index aed174f58adb5dc99b93cd7533777e84b6ebb283..5fe7b97092f9e21b06de351f154cc94c5b39c43d 100644
--- a/src/vs/workbench/parts/html/browser/htmlPreviewPart.ts
+++ b/src/vs/workbench/parts/html/browser/htmlPreviewPart.ts
@@ -74,6 +74,7 @@ export class HtmlPreviewPart extends BaseEditor {
public createEditor(parent: Builder): void {
this._container = document.createElement('div');
+ this._container.style.paddingLeft = '20px';
parent.getHTMLElement().appendChild(this._container);
}