Shrink code block parents to fit code