Fix .main_pane display in small width


Signed-off-by: Edward Cheng <c4150221@gmail.com>