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

bug: demo在独立页面打开 然后使用手机模式查看 字很小 #1928

Closed
18355166248 opened this issue Oct 7, 2023 · 1 comment
Closed
Labels
question Further information is requested

Comments

@18355166248
Copy link

18355166248 commented Oct 7, 2023

Version

2.2.10

OS Version

macOS 12.6

Node.js Version

v16.20.0

Browser Version

Google Chrome 117.0.5938.132

Link to minimal reproduction

http://localhost:8000

Steps to reproduce

image

image

What is expected?

期望 viewport 设置成1 不然字太小了

这个是不开手机预览展示的效果
image

What is actually happening?

字太小

Any additional comments? (optional)

No response

@PeachScript
Copy link
Member

非 bug,移动端主题默认启用 750 高清方案,如果你要用 px 作为单位,把高清方案禁用即可,参考:https://d.umijs.org/theme/mobile#hd

@PeachScript PeachScript added invalid This doesn't seem right question Further information is requested and removed invalid This doesn't seem right labels Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants