add css for alignment and fix task detail save bug