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>
img {
max-width: 100%;
}
+
+ /* the render window is shorter than the page, don't print its scrollbar */
+ ::-webkit-scrollbar {
+ display: none;
+ }
</style>
</head>
<body>