San Francisco now leads the NL West by three games over L.A.