marvelapp / devices.css

Pure CSS phones and tablets
MIT License
3.95k stars 611 forks source link

Scrolling not available if you go off screen #33

Open dutchie027 opened 6 years ago

dutchie027 commented 6 years ago

Currently the CSS doesn't allow for scrolling if you have more content than is in the "viewport" of the device.

If you simply add:

    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;

To the class .marvel-device .screen, it fixes all of that :)