mugiwara85/CodeblockCustomizer

Remove unnecessary css which controls the header width

Closed this issue · 4 comments

When the width is enabled, the header do not align with the codeblock.
image
When the width is disabed, it gets back to the normal appearance.
image
The original code is

.markdown-source-view .codeblock-customizer-header-container, .markdown-source-view .codeblock-customizer-header-container-specific {
    width: calc(var(--line-width-adaptive) - var(--folding-offset));
    margin-left: max(calc(50% + var(--folding-offset) - var(--line-width-adaptive)/2), calc(50% + var(--folding-offset) - var(--max-width)/2)) !important;
}

That's not unnecessary. It has a reason why it is there.
But first of all provide some information. What theme are you using? Why do the icon looks like that? Did you apply some custom css?

I'm using the theme "Things" and there is no other custom css.
image

Ok, I'll look into it, and get back to you

Available in current release (1.2.6). Should there be any problems please report back.