简体   繁体   English

应用程序在部署到 AWS Amplify 时显示错误的解决方案

[英]App Showing Wrong Resolution When Deployed To AWS Amplify

I created a web app using React.我使用 React 创建了一个 web 应用程序。 After I deployed it to AWS Amplify, I found that the deployed app had a lower resolution than my test version in the local environment.将其部署到 AWS Amplify 后,我发现部署的应用程序的分辨率低于我在本地环境中的测试版本。 (Everything in the deployed one appears larger than normal.) What could cause this inconsistency? (部署的所有东西都比正常情况大。)什么可能导致这种不一致?

Please let me know if you need more details.如果您需要更多详细信息,请告诉我。 This is the first question I've asked in StackOverflow.这是我在 StackOverflow 中提出的第一个问题。 Thank you in advance!先感谢您!

Sometimes the zoom in Chrome locks to a certain % for specific domains.有时,Chrome 的缩放会锁定特定域的某个百分比。 Make sure is 100% for both test and deployed sites as the domain changes.随着域的变化,确保测试站点和部署站点都是 100%。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM