-
Notifications
You must be signed in to change notification settings - Fork 182
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
Form field placements off #2343
Comments
Looks like a CSS problem. Do you know whether it looked better in previous versions? |
We were on v18 before and it was fine. We jumped to v20 so can't say whether it's reproducible on v19. Happy to test if that would be useful? |
No, don't bother. Your information already helps me to find the missing CSS. Now I know I don't have to dig infinitely into the past. |
I think I've managed to track it down to this line of CSS. |
Now that's crazy: pdf.js is using both box-sizing models. I'd call it an antipattern. Quite surprising given that the quality of the library is generally exceptionally good. Be that as it may, I've applied a patch. It might be temporary - I hope I can find a better solution - but for now it solves both your issue and #2282. Your bug fix has landed with version 20.1.0. Enjoy! |
The fix is working great - thanks for the quick turn around! |
Describe the bug
Open the attached PDF and notice the form field placements are off:
The attached PDF renders perfectly when tested on the Mozilla viewer.
Version info
20.0.2
Demo PDF file
Hot Works Permit Template.pdf
The text was updated successfully, but these errors were encountered: