Steps to reproduce
- Ensure ‘Fold heading’ is turned on
- Paste the following block into an Obsidian note with the default theme.
- `some code block` - Child element ``` My magic code block. ```
- Collapse the top level list block. The inline code block now has additional padding.
The inline code block does not have additional padding
- Operating system: Windows 10
- Obsidian version: 0.9.6
The culprit seems to be the
padding: inherit style which will inherit the padding from the parent