Fix .main_pane display in small width


Signed-off-by: Edward Cheng <c4150221@gmail.com>
Merge pull request #914 from WhaleWatching/imp_main_pane

Fix .main_pane display in small width