I'm making a site where I want the site to resize to fit to the user's screen resolution.
I'm using System.capabilities.screenResolution.x and System.capabilities.screenResolution.y to find this, but these values always return undefined.
Any ideas what's happening?
Thanks in advance