fix date picker span display issue