lynchjames / obsidian-mind-map

An Obsidian plugin for displaying markdown notes as mind maps using Markmap.
MIT License
1.05k stars 73 forks source link

Can't See Text. #15

Open tedblizzard100 opened 3 years ago

tedblizzard100 commented 3 years ago

Is there a way to change the font color so I can see the text?

image

Vadych commented 3 years ago

I have the same problem. Obsidian 0.10.2 scr1

lynchjames commented 3 years ago

The CSS for the node text color is using the variable --text-normal so it should appear as the same colour as the headings you have in the examples.

Would you be able to use the inspector to select one of the text nodes (<g> > <foreignObject> > <div>) and provide a screenshot of the styles?

Here's an example:

image

Vadych commented 3 years ago

This? image

mkasprz commented 2 years ago

I had the same issue I think, but it's not about the text color. After some tries (with overriding CSS styles too, so thank You for the previous comments) I figured out that changing "Node Min Height" in the plugin settings to 50 for example kind of solved the issue for me and the text is visible. "Node text Line Height" also effects it, so to make it look rather acceptable for me on both Android and PC I had to set it to 50px in my case. It's still kind of a workaround to me, as I believe it should display correctly without an extra need to set any settings manually.