h16nning / typora-gitbook-theme

This is a Typora theme is inspired by gitbook.com. Most of the user interface has been overhauled. It contains three variants: two light variants and one dark theme.
GNU General Public License v3.0
305 stars 51 forks source link

code line number display has overlap #5

Closed SilenceX12138 closed 3 years ago

SilenceX12138 commented 3 years ago

As shown in the following graph, when the line number is greater than 10, with gitbook theme set as the default one, open typora directly, this phenomenon will appear.

However, after switching into a different theme and switch back, the problem will disappear.

image

Typora: 0.9.96

h16nning commented 3 years ago

Hello, I can´t reproduce the issue. Do you run typora on macOS, Windows or Linux?

SilenceX12138 commented 3 years ago

Hello, I can´t reproduce the issue. Do you run typora on macOS, Windows or Linux?

Windows 10

h16nning commented 3 years ago

I could reproduce a similar issue now once by changing the font size to a extremly big one. Could you tell me which font size your using?

SilenceX12138 commented 3 years ago

The system display page zoom is 150% and the typora one is 120%.

h16nning commented 3 years ago

Hello, I still cannot reproduce the issue under the specified circumstances. However, when changing the typora zoom to a very small one, the numbers start to overlap for me as well. I made some minor changes in the latest release which make those issues disappear on my PC. Could you check, if this does solve your problems?

SilenceX12138 commented 3 years ago

image thx~

It seems all right now!