From 318eb9021edc493f5181247dbb7963de34126688 Mon Sep 17 00:00:00 2001 From: Martin Haug Date: Mon, 29 Mar 2021 14:56:42 +0200 Subject: [PATCH] =?UTF-8?q?Side=20by=20side=20testing=20=F0=9F=91=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/test-helper/extension.js | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/tools/test-helper/extension.js b/tools/test-helper/extension.js index ad157bcb6..985112f05 100644 --- a/tools/test-helper/extension.js +++ b/tools/test-helper/extension.js @@ -98,7 +98,6 @@ function getWebviewContent(pngSrc, refSrc, stdout, stderr) { } img { width: 80%; - max-height: 40vh; object-fit: contain; } pre { @@ -107,14 +106,30 @@ function getWebviewContent(pngSrc, refSrc, stdout, stderr) { text-align: left; width: 80%; } + .flex { + display: flex; + flex-wrap: wrap; + } + + .flex > * { + flex-grow: 1; + flex-shrink: 0; + max-width: 100%; + } -

Output image

- +
+
+

Output

+ +
-

Reference image

- +
+

Reference

+ +
+

Standard output

${stdout}