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
Embedded images are wrongly aligned with text #531
Comments
Can you post a screenshot of what you're seeing, and check against a clean Firefox profile (perhaps there are additional steps necessary)? I don't see anything wrong with the link you provided when opened in reader mode - the images are as wide as the text. Perhaps you've customized the default text width or something else that might influence this bug? |
Sorry for the ambiguity. The problem happens in Firefox for Android, where the screen width is small. |
Ah, OK! Thanks for clarifying. This is an issue with reader mode on android, so I filed https://bugzilla.mozilla.org/show_bug.cgi?id=1534942 and will close this one. The code in this github repository is only responsible for extracting the content from the original page; all the subsequent transformation and styling lives in Firefox for Desktop and Firefox for Android's own codebases, so will need fixing there. |
Embedded images are left-aligned with text, which allows the reader view horizontally scrollable. However, from the width of images it seems that images should fully occupy screen width.
Example: https://developer.mozilla.org/en-US/docs/Learn/CSS/Styling_boxes/Box_model_recap
The text was updated successfully, but these errors were encountered: