Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set max-width on injected bounding box #143

Merged

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
1 check passed
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