mugiwara85 / CodeblockCustomizer

Codeblock Customizer plugin for Obsidian
MIT License
168 stars 7 forks source link

Can the header length be adjusted? I want it to fit my block width #9

Closed liuke101 closed 1 year ago

liuke101 commented 1 year ago

I found that the header defaults to full width in edit mode.This causes the header to be much larger than the code block, which affects the aesthetics

mugiwara85 commented 1 year ago

Could you explain that a little bit more in detail? The header is exactly as long as the codeblock.

liuke101 commented 1 year ago

image When I set the option -Editor -Display -Reduce field width, my code block looks like this, image

mugiwara85 commented 1 year ago

Is that the same setting as marked here? (Readable line length). If I enable it, then it works for me. Do you have any other plugins installed? If yes, try to disable them, to see if maybe there is an interference with one of them. Or did you make any other changes in CSS or something else? image image

liuke101 commented 1 year ago

Oh, maybe it's my personal reasons. Thanks for your reply

mugiwara85 commented 1 year ago

If you find out which plugin, or what settings causes this, I can check it, but I need to know first, what causes this behavior.

liuke101 commented 1 year ago

If you find out which plugin, or what settings causes this, I can check it, but I need to know first, what causes this behavior.

I have tested several of the most popular themes in the new warehouse and found that only minimal theme exists in the above condition. I think there may be a conflict between the plug-in and minimal theme, I hope you can check it.

mugiwara85 commented 1 year ago

I can confirm this behavior with minimal theme. I will look at it, what is causing this.

mugiwara85 commented 1 year ago

It is fixed in version 1.1.7