fix code pane overflow