Here’s a link to my lastest blog post
Anyone have any idea why my code is always offset from the first line? I use the triple backticks to format my code
Here’s a link to my lastest blog post
Anyone have any idea why my code is always offset from the first line? I use the triple backticks to format my code
CSS. The line height of the line numbers is different than the line height of the code. If this isn’t something you did, take it up with the theme author.
Interesting. It’s definitely been a problem for me for a very long time, so much so that I cannot recollect if I introduced it or not.
It you have any advice on perhaps an easy way to debug this, please don’t hesitate to let me know.
Thanks
Use your browser’s dev tools to inspect the elements.
The line height of the line numbers is defined in _ublogger.scss (line 5).
The line height of the code is defined in _ublogger.scss (line 1229)
The uBlogger theme was archived (abandoned) about a year ago, and the problem you describe is present in the theme’s documentation (see this example).