You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.
I implemented this script and it works well. I call the reflow function on resize events, also this works without problems. Unfortunately, if the zoom factor / font size is adjusted in the browser, the line height and the positioning parameters (top / marginTop) are not accurate, so I end up with visually broken lines and unaligned lines across columns.
This happens both with standardiseLineHeight: false and true.
With standardiseLineHeight: true however, I not only end up with broken lines, but now, every time I decrease or increase the zoom factor, the space between paragraphs gets wider and wider. So after just a handful of such events I see spaces of multiple line-heights between paragraphs.
Is this script supposed to handle zoom factor change events properly, so if the user is increasing the font size manually, does the .reflow() function reflect this in the line height and positioning calculation? What is the recommended combination of config params and css values to get this tackled ?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I implemented this script and it works well. I call the reflow function on resize events, also this works without problems. Unfortunately, if the zoom factor / font size is adjusted in the browser, the line height and the positioning parameters (top / marginTop) are not accurate, so I end up with visually broken lines and unaligned lines across columns.
This happens both with standardiseLineHeight: false and true.
With standardiseLineHeight: true however, I not only end up with broken lines, but now, every time I decrease or increase the zoom factor, the space between paragraphs gets wider and wider. So after just a handful of such events I see spaces of multiple line-heights between paragraphs.
Is this script supposed to handle zoom factor change events properly, so if the user is increasing the font size manually, does the .reflow() function reflect this in the line height and positioning calculation? What is the recommended combination of config params and css values to get this tackled ?
The text was updated successfully, but these errors were encountered: