Skip to content

Commit 1277006

Browse files
committed
Fix microsoft/vscode-pull-request-github#180. Render whitespace for code blocks in comments
1 parent 0c97949 commit 1277006

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • src/vs/workbench/parts/comments/electron-browser/media

src/vs/workbench/parts/comments/electron-browser/media/review.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@
117117
padding: 0 0.4em;
118118
}
119119

120+
.monaco-editor .review-widget .body span {
121+
white-space: pre;
122+
}
123+
120124
.monaco-editor .review-widget .body .comment-body img {
121125
max-width: 100%;
122126
}

0 commit comments

Comments
 (0)