Adjusts size and spacing for pagination links for smaller devices