diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/test-helper/extension.js | 5 |
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> |
