Make code block resizing logic more robust in the face of removals that arent deletions
Make code block resizing logic more robust in the face of removals that arent deletions

shamrin/Eve,witheve/Eve,witheve/Eve,nmsmith/Eve,shamrin/Eve,shamrin/Eve,nmsmith/Eve,witheve/Eve,nmsmith/Eve