simonw / shot-scraper

A command-line utility for taking automated screenshots of websites
https://shot-scraper.datasette.io
Apache License 2.0
1.57k stars 70 forks source link

set initlal viewport for interactive shots #128

Closed mhalle closed 5 months ago

mhalle commented 8 months ago

Quick fix to set the initial viewport for interactive shots. I moved the viewport creation to a function because viewports are calculated with defaults and used in a couple places.


:books: Documentation preview :books:: https://shot-scraper--128.org.readthedocs.build/en/128/

mhalle commented 8 months ago

OK, if I submit other pull requests I won't bump the version.