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
Just wanted to leave a short note, that the current release version including the line numbers plugin has a small alignment bug. I've tested it in Chrome 58, FF Nightly and IE Edge, each of them displays the line numbers 2 Pixels below the base line. With some doctypes + IE the alignment gets even worse and is a whole line height off.
The solution for my project is actually pretty straight forward: Add "display: inline-block" to the code tag.
Just wanted to leave a short note, that the current release version including the line numbers plugin has a small alignment bug. I've tested it in Chrome 58, FF Nightly and IE Edge, each of them displays the line numbers 2 Pixels below the base line. With some doctypes + IE the alignment gets even worse and is a whole line height off.
The solution for my project is actually pretty straight forward: Add "display: inline-block" to the code tag.
The bug and the solution can be reproduced with the plugin example as well: http://prismjs.com/plugins/line-numbers/
Again, this was only tested in the browsers mentioned above.
The text was updated successfully, but these errors were encountered: