insanum / obsidian_nord

A nord theme for Obsidian
MIT License
243 stars 63 forks source link

# tag used in heading causes overlap #60

Open thibaultmol opened 1 year ago

thibaultmol commented 1 year ago

image

I sometimes use tags inside of a header, and noticed that with Nord it causes the rounded box to overlap with text above and below it

insanum commented 1 year ago

Yeah that's annoying. It looks like the same issue occurs with the default theme. Can you verify?

insanum commented 1 year ago

https://forum.obsidian.md/t/tags-in-headers-overlap-other-lines-of-text-in-default-theme/48944

thibaultmol commented 1 year ago

Fair point yeah image

Guess it's best to see what Obsidian itself does to fix this problem and then you can change your theme if needed. (I guess closing this issue till Obsidian fixes their theme atleast?)

insanum commented 1 year ago

I think it's good leave this open.

If you'd like to adjust the tag height/width, you should be able to tweak these settings in a CSS snippet:

    --tag-padding-x:                  .5em;
    --tag-padding-y:                  .2em;
    --tag-radius:                     .5em;