搜尋 Mozilla 技術支援網站

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Fractional pixels with a 4K monitor

  • 無回覆
  • 1 有這個問題
  • 1 次檢視
more options

Hey guys, I'm having some issues when using Firefox with a 4K monitor.

Whenever I resize the window to 768px using either the Inspector or a website page builder like Elementor (as an example), it actually resizes the window to 767.833px.

This causes a lot of websites to break, as most have styling for (max-width: 767px) and (min-width: 768px).

This has existed for months now, and doesn't happen on Chrome. In Chrome, 768px shows as 768px.

Any ideas on why this is happening, or how to fix it?


Thanks!

附加的畫面擷圖

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題