fix css issue for ipad style