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
On Firefox, lining wraps the first line in a separate element, plus creates an empty text-line before.
Any idea why is this happening?
See example here: https://codepen.io/anon/pen/pZbzyP
The text was updated successfully, but these errors were encountered:
There is no need to call lining(document.getElementById('div'));. Adding an attribute named data-lining is enough. Lining.js will handle the rest of thing. 😄
The thing is I'm using lining on dynamic content processed by markdown, so I don't have the control of the DOM elements. Which is why the use of lining on the parent element is the way to go for me, and works perfectly anywhere but in Firefox
On Firefox, lining wraps the first line in a separate element, plus creates an empty
text-line
before.Any idea why is this happening?
See example here: https://codepen.io/anon/pen/pZbzyP
The text was updated successfully, but these errors were encountered: