Carbonateb / obsidian-encore-theme

The Encore theme aims to freshen up the UI of Obsidian.md with modern design, loosely based off Material 3.
MIT License
71 stars 5 forks source link

[BUG] weird sizing on h5 and h6 headers #16

Closed m0xn closed 1 year ago

m0xn commented 1 year ago

Describe the Bug The size of the h5 and h6 headers is not proportional to their bigger relatives.

I've researched a little bit on the theme.css file to find out the problem. It seems that some variables which get overridden for the headers from h1 -> h4, do not get overridden for the remaining headers.

Relevant Screenshots image As you can see, there's some weird size difference between the h4 and h5 headers.

image This fragment of code seems to override the variable on the Obsidian app.css file ->--h1-size. This code snippet is also repeated on the headers from h2 -> h4, but missing for the remaining headers.

image The h4 size is getting overridden with the original value that the h6 has on the app.css file (See below):

image

To Reproduce You can reproduce it by creating a header list with labels for each one (just like I've done in the first screenshot).

In which mode does the bug occur?

Which editor are you using?

Which version of Obsidian are you using?

Checklist

PD: I don't know if this behavior is intended or not, but I found it weird and felt like posting an issue about it