nickmilo / LYT-Mode

LYT Mode is for "Linking Your Thinking". It invokes sensemaking and lateral thinking.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wikilinks color bleeding over to adjacent letter

everruler12 opened this issue · comments

As shown in the screenshot, in [[future-proof]]ing where there is no space after the closing brackets, and the next letter gets the same color as the link.

Happens in both Live Preview and Reading Mode.
image

After further testing, I discovered this only happens with i and l which are the thinnest letters. The links are also clickable on that last letter, so this may not be an issue with the theme at all, and is instead aan Obsidian parsing issue.

commented

Interesting bug! I'm glad you found out that it was a parsing issue. This would be a good bug to report on the forums!! Again, thanks for reporting 😄

So, this isn't a problem in the default theme. I narrowed it further to the font: DM Sans.
Removing 'DM Sans' from --font-sans-2 makes the issue go away.
I think it has to do with the glyphs. Notice how the i gets a little extra horizontal line added to connect it with the f when right next to it.
image

So ultimately, I don't think it's an Obsidian problem or an issue with this CSS theme, but a bug in the underlying browser renderer.