Skip to content
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

The cursor of the first character in a list item is slightly higher #26

Open
Jed-Z opened this issue Jun 18, 2021 · 1 comment
Open
Labels
bug Something isn't working or looking right windows An issue occuring on windows

Comments

@Jed-Z
Copy link

Jed-Z commented Jun 18, 2021

The problem exists in both ordered and unordered list. For example, when inserting an ordered list, type 1. followed by a space. Then an empty list is created, and it is found that the cursor is slightly higher than expected. It returns to normal after entering any character in the list.

Compare the height of the bottom of the cursor with the height of "1." in the following two pictures:

Snipaste_2021-06-18_19-15-56

Snipaste_2021-06-18_19-16-14

I found this problem on macOS. There is no such problem under Windows.

@h16nning h16nning added bug Something isn't working or looking right windows An issue occuring on windows labels Jun 18, 2021
@h16nning
Copy link
Owner

Hi @Jed-Z, I am still searching a solution for this problem. As you might have noticed, this issue also appears for some other themes. As of right now it seems to be that the only way to modify the cursor's position with css is by modifying the line height. However, this would also change the distance between the lines.

A similar issue can be found when choosing the language of the coding language, as someone pointed out in #3. Unfortunately it is very hard to influence the cursors position with just css.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working or looking right windows An issue occuring on windows
Projects
None yet
Development

No branches or pull requests

2 participants