Yin-and-Yang-Theme icon indicating copy to clipboard operation
Yin-and-Yang-Theme copied to clipboard

Headings not properly sized

Open Coliinnn opened this issue 2 years ago • 8 comments

Hello,

I have been using the Yin and Yang theme for a few weeks now and it has been working great. Since yesterday, however, headings are suddenly no longer sizing properly in Live Preview mode. The headings are now very small, compared to their true size which used to be much larger before yesterday. Here is an example of one of my notes, with the first heading being level 1 (#) and the second heading level 2 (##): Screenshot 2022-03-10 at 17 52 14

As you can see, the headings are even smaller than the body text itself.

I suspect that this issue has to do with Obsidian Release v0.13.31. In the release notes, it even states that 'Fixed headings in legacy editor not properly sized.' However, I am not using legacy mode, and my headings are still broken even in version 0.13.31.

Is this related to the Yin and Yang theme or should I post on the Obsidian forums to find a solution? Does anyone else recognise this issue?

Coliinnn avatar Mar 10 '22 16:03 Coliinnn

I'm facing the same issue. I do think its a compatibility issue with the theme and the new version. It would be great to tag it with bug label.

AbhishekVarghese avatar Mar 10 '22 18:03 AbhishekVarghese

Check #89

Palingenae avatar Mar 15 '22 17:03 Palingenae

+1 to this. Tried the fix in #89 with little luck.

kylestratis avatar Mar 22 '22 03:03 kylestratis

I have the same issue. And I was unable to understand how to fix it with the #89. I'm not proficient using CSS. Someone can give us a clue.

DenebAguirre avatar Mar 22 '22 20:03 DenebAguirre

I have the same issue. And I was unable to understand how to fix it with the #89. I'm not proficient using CSS. Someone can give us a clue.

Hi @DenebAguirre You can check out #89 > switch to 'Commits' tab > Enter the commit. And you will find out what changes that #89 has made, copy and paste them to your CSS file in .obsidian/themes/Yin and Yang.css

Hope it helps!

yuconnorl avatar Apr 12 '22 09:04 yuconnorl

@yuconnorl thank you, it worked!

DenebAguirre avatar Jun 03 '22 18:06 DenebAguirre

Just switched to live preview and noticed the header changing size, only with this theme. Happy to see that there was already a fix floating around. Thanks for suggesting the fix in #89 as it worked as intended and thanks to @yuconnorl for the explanation for how to implement it!

orionpilot avatar Jun 14 '22 20:06 orionpilot

@yuconnorl thank you for the comment, this worked for me

image

MaksimZinovev avatar Jul 10 '22 00:07 MaksimZinovev