I'm applying a background color to code blocks in org-mode, as shown in this line from my colortheme:
'(org-block ((t (:background "#F5F5F5" :family "Source Code Pro" :height 140))))
When I collapse an item that contains a code block, the code block's background color extends from the end of the item's heading to the edge of the window, which I did not expect -- I expected collapsing the item would hide any evidence of the contained code-block.
Is there any way to prevent the code block background from "bleeding through" like this?