mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
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:
parent
011ac2c103
commit
6aca75d9d0
|
@ -9,6 +9,7 @@ html, body {
|
|||
padding: 0 26px;
|
||||
line-height: var(--markdown-line-height, 22px);
|
||||
word-wrap: break-word;
|
||||
overscroll-behavior-x: none;
|
||||
}
|
||||
|
||||
body {
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue