summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-02-24 21:29:32 +0100
committerLaurenz <laurmaedje@gmail.com>2021-02-24 21:29:32 +0100
commitf084165eabbb8ad1b8e8969078fce89070ab4d96 (patch)
tree6003822cc646ecf0ba6a3070c87ab283503a4c3b /tools
parentdae3dad5407e49715736a2a3d8735e65027e6c11 (diff)
While loops 🔁
Diffstat (limited to 'tools')
-rw-r--r--tools/test-helper/extension.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/test-helper/extension.js b/tools/test-helper/extension.js
index e5325bed..ad157bcb 100644
--- a/tools/test-helper/extension.js
+++ b/tools/test-helper/extension.js
@@ -92,9 +92,9 @@ function getWebviewContent(pngSrc, refSrc, stdout, stderr) {
<style>
body, html {
width: 100%;
- text-align: center;
margin: 0;
padding: 0;
+ text-align: center;
}
img {
width: 80%;
@@ -102,7 +102,10 @@ function getWebviewContent(pngSrc, refSrc, stdout, stderr) {
object-fit: contain;
}
pre {
+ display: inline-block;
font-family: var(--vscode-editor-font-family);
+ text-align: left;
+ width: 80%;
}
</style>
</head>