Ionic molecules don't share electrons. ionic attraction is between positive charge and negative charge. The greater the positive and negative charges, the stronger the ionic attraction becomes. Smaller molecules have electrons closer to the nuclei ( more S character) , so the distribution of electrons doesn't spread over large space. Therefore, it allows the charge of the smaller molecules to be more "concentrated" , as a result, increase the charge effect, which leads to stronger ionic attraction.