Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Font size and pull-to-refresh image is too small #248

Open
schua1 opened this issue Dec 25, 2018 · 1 comment
Open

Font size and pull-to-refresh image is too small #248

schua1 opened this issue Dec 25, 2018 · 1 comment

Comments

@schua1
Copy link

schua1 commented Dec 25, 2018

I use Vue 2.5.2 and vue-scroller 2.2.4.
I have global css settings and the font size is set to 0.3733rem (about 14px).
In web browser like FF and chrome and even on android system, the scroller works fine to me.
However, on iOS (iPhone 6s) the text and image are very small and remains as it was even after I try to set the inline style as following or pixels expilicitly.
<scroller :on-refresh="refresh" style="box-sizing: border-box; padding-top: 1.2rem; font-size: 0.667rem">
Is there any way to change style to enlarge the text and pull-to-refresh image?

@schua1
Copy link
Author

schua1 commented Dec 29, 2018

I think the root cause we used the taobao flexible + px2rem-loader solution to auto adjust the font size on different device by using dpr and rem.
This plugin is not compatible with flexibly solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant