简体   繁体   English

Chrome 扩展字体大小调整

[英]Chrome Extension Font Sizing

I have a chrome extension that works perfectly for MOST users, but I am getting reports from some users on windows specifically that the fonts are large and breaking the layout.我有一个非常适合大多数用户的 chrome 扩展,但我从 Windows 上的一些用户那里得到报告,特别是字体很大并且破坏了布局。

I have had them send screen shots and it appears like the extension is zoomed, but it isn't according to them.我让他们发送屏幕截图,看起来扩展名被放大了,但事实并非如此。

Has anyone ever had something like this?有没有人遇到过这样的事情?

examples -例子 -

http://i.imgur.com/B4SKFh0.jpg - What the user is seeing http://i.imgur.com/B4SKFh0.jpg - 用户看到的

http://i.imgur.com/dtII9ci.png - What I am seeing, and what it should look like. http://i.imgur.com/dtII9ci.png - 我所看到的,以及它应该是什么样子。

Code wise there is nothing special going on, normal myers reset for CSS, I tried enforcing zoom, but that didn't seem to help.代码方面没有什么特别的事情发生,正常的 myers 为 CSS 重置,我尝试强制缩放,但这似乎没有帮助。

More than likely some of the users have changed the "Page Zoom" setting in chrome://settings/appearance.很可能一些用户已经更改了 chrome://settings/appearance 中的“页面缩放”设置。 Zooming an individual page will not affect the zoom of extensions.缩放单个页面不会影响扩展的缩放。 But setting the "Page Zoom" setting does.但是设置“页面缩放”设置确实如此。

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

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