With the continuing trend toward larger screen sizes and greater resolution, this is going to be an ongoing issue for devs (yesterday's table innerHeight and innerWidth are today's phone values). I make screen orientation a user setting I place in local storage.
↧