I am trying to change the size of the previous and next button on an iPad mini version 1 depending on if it is in landscape or portrait mode. I don't want to use width and height since we might use other devices with different width and height later.

I have the following queries in the CSS but it is only portrait that is working.