From: Thorsten Date: Fri, 6 Nov 2026 17:48:45 +0000 (+0100) Subject: Hide scrollbar in printed output X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=41ff0e7259c77b4e30ab05a063baf0dc65e55a48;p=sirius.git 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 --- 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; + }