Skip to content

Conversation

kljohann
Copy link
Contributor

@kljohann kljohann commented Feb 13, 2024

max-width of the injected element is set to none. Otherwise, the box can be too small if the page's CSS applies to the injected element by accident (e.g., body > * { max-width: 5cm; }).


📚 Documentation preview 📚: https://shot-scraper--143.org.readthedocs.build/en/143/

Otherwise, the box is too small if the page's CSS applies to the injected
element by accident (e.g., `body > * { max-width: 5cm; }`).
@simonw
Copy link
Owner

simonw commented Mar 9, 2024

Thanks for this!

@simonw simonw merged commit 278fda2 into simonw:main Mar 9, 2024
simonw added a commit that referenced this pull request Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants