I’m trying to work with one resolution and than use the body zoom to adapt the page to the different screen resolutions.
For example if my art board is 1080x1920 and I’m on a device with 375x627 (iPhone 6) I’ll set the zoom factor and the webkitTextSizeAdjust to 0.34, like this:
This technique worked until a couple of months ago but with the last ionic version something changed. The scroll view overwrites the webkitTextSizeAdjust and mess everything up. For not scrolling content it works perfectly.
Am I missing something? Should I add some more javascript to manage scroll views or do you have a different solution to manage different screens resolutions?
I tried these solutions but have not worked, I did not understand why even with “!important” was still overridden by the class .scroll so I made two changes and now it works:
document.body.style.webkitTextSizeAdjust seems not work anymore and so I used this method to overwrite the property
Ionic .scroll overwrite the text-size-adjust property so I commented the row where the property is overwritten in the files www/lib/ionic/scss/_reset.scss and www/lib/ionic/scss/_scaffolding.scss