]> git.aero2k.de Git - sirius.git/commitdiff
Hide scrollbar in printed output
authorThorsten <mail@aero2k.de>
Fri, 6 Nov 2026 17:48:45 +0000 (18:48 +0100)
committerThorsten <mail@aero2k.de>
Fri, 6 Nov 2026 17:48:45 +0000 (18:48 +0100)
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 <noreply@anthropic.com>
sirius/coding/default_template.html

index ef38bf382af73693e857fb711abd28615a83d088..43abb17fae1b29676f5b563845259e60b1c04f5f 100644 (file)
       img {
         max-width: 100%;
       }
+
+      /* the render window is shorter than the page, don't print its scrollbar */
+      ::-webkit-scrollbar {
+        display: none;
+      }
     </style>
   </head>
   <body>