omnivore icon indicating copy to clipboard operation
omnivore copied to clipboard

Text size on iOS app changes on autorotate

Open northgardner opened this issue 1 year ago • 6 comments

On an iPhone, (iPhone 13, iOS 16.6) when I open an article in "portrait" orientation, and then rotate the device to "landscape" mode, the text size change drastically (it gets much bigger).

northgardner avatar Nov 17 '23 03:11 northgardner

Does Safari do the same for you?

jacksonh avatar Nov 17 '23 03:11 jacksonh

Yes.

northgardner avatar Nov 17 '23 03:11 northgardner

ok, looks like we can prevent this by injecting some CSS, not sure people would want it as a default though, as Apple's probably done this on purpose.

jacksonh avatar Nov 17 '23 03:11 jacksonh

will need:

    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */

jacksonh avatar Nov 17 '23 03:11 jacksonh

I’ll just note that other read-later apps (Pocket, Instapaper) seem to have corrected for this. I do see this behavior on other websites on Safari, but for whatever reason the difference seems more drastic on Omnivore. Maybe related to font, line spacing, and margins.

On Nov 16, 2023 at 10:20 PM, <Jackson Harper @.***)> wrote:

ok, looks like we can prevent this by injecting some CSS, not sure people would want it as a default though, as Apple's probably done this on purpose.

— Reply to this email directly, view it on GitHub (https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_omnivore-2Dapp_omnivore_issues_3138-23issuecomment-2D1815686476&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=wsEQ2LwErBIx6jkkIhLjIVcCdG_nJ_iH8g91MemTC1E&m=_5z9_Cu392zar4S9fc0EGBmsncDvCyDmc2uCcci5e90HfQlrswmew-Hiq72TfUOv&s=R0V6MRTLHlC0TyNx6dj0_hY4YV8TAIwj55sHgfrzAD8&e=), or unsubscribe (https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ADDPNY56IHJ2DA3M4FEH243YE3JYZAVCNFSM6AAAAAA7PEXT6KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJVGY4DMNBXGY&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=wsEQ2LwErBIx6jkkIhLjIVcCdG_nJ_iH8g91MemTC1E&m=_5z9_Cu392zar4S9fc0EGBmsncDvCyDmc2uCcci5e90HfQlrswmew-Hiq72TfUOv&s=C4RqQdaVEKZN4eSwKzY2b3KNmgEZLB0h4puMeAMsO9w&e=). You are receiving this because you authored the thread.Message ID: @.***>

northgardner avatar Nov 17 '23 03:11 northgardner

Yeah Pocket and Instapaper are just using text, they don't have full HTML support in their readers. I'll add a setting to disable this but i think most will prefer it enabled from my testing.

jacksonh avatar Nov 17 '23 03:11 jacksonh