raphwriter / trilium-theme-melon

A theme for Trilium Notes
93 stars 20 forks source link

Issue with ToC display #12

Closed anantone closed 2 years ago

anantone commented 2 years ago

Hi, first of all, thanks for making this theme, it's really enhancing my visual experience of Trilium!

I'm having an issue with the display of the table of content where initial numbers are cut off (please see this issue for details and screeshots).

Suggestions have been to increase padding on the toc.widget, or adjust font size in the custom fonts settings.

Being kind of a newbie (or on an upward learning curve, anyway), I'm having trouble figuring out how to do that in your CSS file. So I thought I'd ask if you have time to point out the relevant places?

I'm adding here a screenshot where you can see: the goal would be to increase padding left of the ToC entries, which would presumably reveal the missing 1s (and also, a bit more space before the "T" of "TABLE OF CONTENTS" wouldn't be excessive)

Thanks again in advance!!

Screenshot_2022-09-15_08-56-54

raphwriter commented 2 years ago

Hi, glad you like the theme! I just commited a change to the css which should fix the issue. If you're interested, this is what I changed: https://github.com/raphwriter/trilium-theme-melon/blob/e5656455bdc52dca4f149d5ba77c9d97d0667221/melon-theme-4.css#L372-L397

Let me know, if it is fixed!

anantone commented 2 years ago

Thank you so much! Yes, that fixed it perfectly. Awesome! ;)

If you don't mind, I'll share your solution on the Trilium page, as more people seemed to have a similar issue with other themes.

Keep up the good work! :)