Fix markdown preview classes (#187501)

For #187234

Got introduced through a bad PR change. Makes more sense to move this styling to the css file instead
This commit is contained in:
Matt Bierner
2023-07-10 13:04:03 -07:00
committed by GitHub
parent 011ac2c103
commit 6aca75d9d0
2 changed files with 2 additions and 1 deletions

View File

@@ -103,7 +103,7 @@ export class MdDocumentRenderer {
${this._getStyles(resourceProvider, sourceUri, config, imageInfo)}
<base href="${resourceProvider.asWebviewUri(markdownDocument.uri)}">
</head>
<body class="vscode-body style="overscroll-behavior-x: none;" ${config.scrollBeyondLastLine ? 'scrollBeyondLastLine' : ''} ${config.wordWrap ? 'wordWrap' : ''} ${config.markEditorSelection ? 'showEditorSelection' : ''}">
<body class="vscode-body ${config.scrollBeyondLastLine ? 'scrollBeyondLastLine' : ''} ${config.wordWrap ? 'wordWrap' : ''} ${config.markEditorSelection ? 'showEditorSelection' : ''}">
${body.html}
${this._getScripts(resourceProvider, nonce)}
</body>