farshed / duofolio

An ebook reader for linguaphiles 📖
GNU General Public License v3.0
483 stars 67 forks source link

Fix WebView overflow and disable user zooming #9

Closed rafaelsaback closed 4 years ago

rafaelsaback commented 4 years ago

On my smartphone, WebView was overflowing. This was happening because by default body has borders on it, and since the div container is taking 100vh and 100vw, this was causing WebView to overflow.

I've also disabled the zooming/scaling so that the WebView zoom scale is fixed.

farshed commented 4 years ago

Awesome fix man. Merged 👍