• Nathan CooperNathan Cooper, over 6 years ago (edited over 6 years ago )

    This worked for me, but it only solved the problem in emulation, but not on an actual device. I discovered I was missing a meta tag in the head, i.e.,

    meta name="viewport" content="width=device-width, initial-scale=1.0"

    With that tag, you can check 'Emulate Viewport' and get the expected result in emulation, but more importantly, you get the expected result on a device.

    0 points