insanum / obsidian_nord

A nord theme for Obsidian
MIT License
228 stars 62 forks source link

Heading font size inconsistencies since Obsidian 0.13.27 #33

Closed gkertai closed 2 years ago

gkertai commented 2 years ago

Since Obsidian v0.13.27 (insider build) switching between edit & reading modes changes the font size of headings significantly (like 3-fold). I found this to affect the obisidian_nord and obisidian_gruvbox themes, like so:

8fb8baac289e83feaa531c863403bf2c0b7fc901_2_690x160

According to Lilcat (Obisidian developer):

Heading sizing has been re-done - we moved them from the inner text to the outer line container. I have tried adding some CSS overrides to avoid old themes from screwing it up, but some themes set them differently (or probably with a !important) which overrides our overrides. They can now be configured with --h1, etc which should make it a lot easier to style.

For further details see discussion at this Obsidian bug report.

swehba commented 2 years ago

I can confirm that this is a problem with the Obsidian Nord theme.

jvidal-sysadmin commented 2 years ago

+1

mattcorr commented 2 years ago

+1

I have sort of tried to fix this with CSS overrides, but there is a massive difference between edit and reading modes...

jendahorak commented 2 years ago
insanum commented 2 years ago

fixed

mattcorr commented 2 years ago

Awesome. Much better now. Thanks!