Correct styling to handle search pagination with only a few pages