Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

fix(trace): preserve line breaks in console messages (#16696)

Yury Semikhatsky35af13813c25
diff --git a/packages/trace-viewer/src/ui/consoleTab.css b/packages/trace-viewer/src/ui/consoleTab.css
index 648ddfed0b..8546ad98b0 100644
--- a/packages/trace-viewer/src/ui/consoleTab.css
+++ b/packages/trace-viewer/src/ui/consoleTab.css
@@ -59,6 +59,7 @@
.console-line-message {
white-space: initial;
word-break: break-word;
+ white-space: pre-wrap;
position: relative;
top: -2px;
}
diff --git a/packages/web/src/third_party/vscode/codicon.css b/packages/web/src/third_party/vscode/codicon.css
index 980d3053ae..6c90f21048 100644
--- a/packages/web/src/third_party/vscode/codicon.css
+++ b/packages/web/src/third_party/vscode/codicon.css
@@ -23,7 +23,7 @@
user-select: none;
}
-.codicon-blank:before { content: '\81'; }
+.codicon-blank:before { content: '\2003'; }
.codicon-add:before { content: '\ea60'; }
.codicon-plus:before { content: '\ea60'; }
.codicon-gist-new:before { content: '\ea60'; }