insanum / obsidian_nord

A nord theme for Obsidian
MIT License
236 stars 62 forks source link

Cursor misaligned with numbered lists and body tags #52

Closed grantx2016 closed 1 year ago

grantx2016 commented 1 year ago

Hi,

I have noticed that the cursor is misaligned when positioned at start of the text string for numbered lists, or at the start of body tags, as shown on the attached. I would expect there to be no gap between the cursor and the first character, as is normally the case.

Thanks for a great theme!

tinywow_Screen Recording 2022-11-11 at 9 23 57 am_8055805 tinywow_Screen Recording 2022-11-11 at 9 40 41 am_8055741

insanum commented 1 year ago

I don't see these symptoms on my install. Can you try with the default theme (or others)?

grantx2016 commented 1 year ago

I just tested with the default them:

Refer attached. tinywow_Screen Recording 2022-11-19 at 10 28 46 am_8393816

JasonBates commented 1 year ago

Came here to report the same thing.

  1. I start a numbered list and start typing
  2. I press enter to move to point 2. and the cursor is misaligned with point 1. (so I reflexively add a space)
  3. When I type more the text jumps to be aligned with point 1, and suddenly I've got an extra space at the start of point 2
  4. I get micro-annoyed ... lol

Just tested on default theme, and I don't get the same mis-alignment at the start of a numbered list

Thanks for all of your great work on your theme. It's definitely my favourite

ssimms commented 1 year ago

I'm seeing the same issue with bulleted and numbered lists (Obsidian 1.1.6, Obsidian Nord 0.1.7). Disabling the .cm-formatting-list rule fixes the problem.

grantx2016 commented 1 year ago

Disabling the .cm-formatting-list rule fixes the problem.

I couldn't get this to work. Can you please share the css to do this?

mpaluta commented 1 year ago

I have the same issue with bulleted lists and it's a minor annoyance. I keep hitting delete thinking I am deleting a space but it deletes characters.

insanum commented 1 year ago

This annoyed me as well. Fixed!