add some padding to second pane when vertical

This is for #9706

This PR adds some padding to the pane content of the second pane when vertical so it doesn't overlap the resizer.