jupyter-themes icon indicating copy to clipboard operation
jupyter-themes copied to clipboard

Line number alignment is wrong

Open nikitperiwal opened this issue 4 years ago • 3 comments

The alignment for line number is wrong after i have changed the theme. My current theme config: jt -t monokai -f fira -fs 12 -nf ptsans -nfs 12 -N -kl -cursw 2 -cursc r -cellw 90% image

nikitperiwal avatar Jun 11 '20 11:06 nikitperiwal

The same thing happens to me, except that the numbers move even farther to the right and over the first character of the line. This happens with all the configurations and themes I tried.

immagine

I don't know if it helps but I noticed that - while the page is rendering - the numbers start in the right place, then jump on the border between their region and the cell and finally on the code. I'm using Firefox 87.0 on Linux and this config is jt -t onedork -N -T -kl -cellw 88% -cursc r.

GiulioTani avatar Apr 26 '21 11:04 GiulioTani

Has anyone found a fix for this issue yet?

lydubs avatar Apr 15 '22 19:04 lydubs

In nbextensions, uncheck "Codefolding", I used this method to solve the problem of abnormal display of line numbers. Every time I open the notebook, the line number is displayed in the normal position, and then after a short period of time, it is displayed abnormally, and the fold symbol appears, so I guess it is the problem of this plugin.

Cute-Pig avatar May 28 '22 13:05 Cute-Pig