From 41ff0e7259c77b4e30ab05a063baf0dc65e55a48 Mon Sep 17 00:00:00 2001 From: Thorsten Date: Fri, 6 Nov 2026 18:48:45 +0100 Subject: [PATCH] Hide scrollbar in printed output PhantomJS can draw a scrollbar into the rendered page, which then gets printed down the right edge. The trigger isn't understood: it was seen on an image with large text, but not on the image alone or on long text. Co-Authored-By: Claude Opus 5.5 --- sirius/coding/default_template.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sirius/coding/default_template.html b/sirius/coding/default_template.html index ef38bf3..43abb17 100644 --- a/sirius/coding/default_template.html +++ b/sirius/coding/default_template.html @@ -41,6 +41,11 @@ img { max-width: 100%; } + + /* the render window is shorter than the page, don't print its scrollbar */ + ::-webkit-scrollbar { + display: none; + } -- 2.47.3