-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
"Previewers" plugin dont work correctly with the "Line Numbers" #1496
Comments
Which browser are you using? I can confirm this bug on FireFox, but not on Chrome. |
I use Firefox Developer Edition. |
Now it works thanks! This is my 1st time on githab. Do I need to click something because the problem is solved to me? |
How did you solve it? |
I downloaded a new script "Previewers" |
The one from my commit? |
Yes ( Fixed bug #1496 ) |
Ok, thanks for the clarification. This commit is not the final version yet, so I would like to ask you to wait until I publish the final version. |
Thank you very much =) |
We will close the issue once the final bug fix has been include, so you can leave it open. You're welcome ^^ |
The problem was a bug unique to Firefox which causes offsetTop of span.token to always be 0 under certain conditions. It only occurred together with of the line-number plugin because setting position: relative for the pre > code elements triggers that FF bug. The offset is now calculated using bounding boxes. Tested in Chrome, Edge, IE, FF, and Opera. Fixes #1496.
The tooltip isnt aligned vertically.
link to CodePen
The text was updated successfully, but these errors were encountered: