简体   繁体   English

Web应用程序放大了chrome

[英]Web app getting zoomed in chrome

I am making a react application. 我正在申请React。 When I open the application in chrome browser, it gets zoomed in. I have to zoom out chrome to 75% to see the actual applicatio. 在chrome浏览器中打开应用程序时,它会被放大。我必须将chrome缩小到75%才能看到实际的应用程序。 In 100% my application looks all zoomed. 在100%的应用程序中,所有应用程序看起来都是放大的。 Why is this happening and how can I solve it? 为什么会发生这种情况,我该如何解决?

Check your head section for metatag declaration. 检查您的头部以获取元标记声明。 Mostly there should be the problem with user-scalable value. 通常,用户可扩展的值应该存在问题。 It should be 1.0 for perfect result. 完美结果应为1.0。

Here is the full code for correct meta tag 这是正确的元标记的完整代码

 <!-- For 100% page rendering --> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- OR * To lock the zoom of the page --> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> 

If its not working well for you, please share your website link to review further. 如果对您来说效果不佳,请分享您的网站链接以进一步检查。

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

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