[data-apos-ajax-infinite-scroll] {
  display: block;
  visibility: hidden;
}

[data-apos-ajax-infinite-scroll] {
  display: block;
  visibility: hidden;
  height: 0;
  border: 0;
  margin: 0;
  padding: 0;
}

Make button as small as possible
Make button as small as possible

Set `height` to 0, remove any `padding`, `margin` and `border`. This should make the button zero height but the infinite scroll detection still works in all browsers tested. If the site has a container wrapped around the button it's up to the dev to size that container as pleased.
