Update the style for the pagination list