As the atomic number increases across a period, the number of protons and electrons of the element also increases.Hence now each electron is under the influence of more number of protons due to which the size of the element decreases.but anyhow there would be some variations due to the difference in electronic configuration.