Folding headers not working in editor mode

When I am in editor mode using the below options, the folding does not work :frowning:

Steps to reproduce

Make sure to have the following

  • Disable readable line length
  • Use this CSS
.markdown-preview-section {
  max-width: 85ch;
  margin: 0 auto;

Try to fold and unfold. The button does not work (the shortcut works however)

Expected result

Actual result


  • Operating system:
  • Obsidian version:

Additional information

This issue was not happening on v0.12.3
I suspect that the button is outside the margins of the container div

we don’t provide direct support for custom css.