Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Can't resize below 374px (FF27.0)

  • 4 trả lời
  • 1 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi liamcrean

more options

Since upgrading to FF27.0 I'm unable to resize my browser below 374px.

I fixed the problem in FF release 26.0 using this CSS Chrome hack: https://support.mozilla.org/en-US/questions/980033#answer-510995

But the fix no longer works. This is a pain for folk quick-testing standard mobile views as they develop 320px would have been ideal!!! (often used as the lowest common denominator for media queries)

Any ideas?

Thanks.

Since upgrading to FF27.0 I'm unable to resize my browser below 374px. I fixed the problem in FF release 26.0 using this CSS Chrome hack: https://support.mozilla.org/en-US/questions/980033#answer-510995 But the fix no longer works. This is a pain for folk quick-testing standard mobile views as they develop 320px would have been ideal!!! (often used as the lowest common denominator for media queries) Any ideas? Thanks.

Giải pháp được chọn

In Firefox 27, the min-width default is back to the 250px value used in Firefox 25, so you shouldn't need to use the code anymore.

  • chrome://browser/content/browser.css

If you use the code then make sure to add the !important; flag

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#main-window:not([chromehidden~="toolbar"]) {
  min-width: 200px !important;
}
Đọc câu trả lời này trong ngữ cảnh 👍 2

Tất cả các câu trả lời (4)

more options

hello limbox, you could try the responsive design view in the web developer tools (shortcut on windows is ctrl+shift+m).

more options

Giải pháp được chọn

In Firefox 27, the min-width default is back to the 250px value used in Firefox 25, so you shouldn't need to use the code anymore.

  • chrome://browser/content/browser.css

If you use the code then make sure to add the !important; flag

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#main-window:not([chromehidden~="toolbar"]) {
  min-width: 200px !important;
}
more options

@phillip

Yeah, I know this one, but it's not easy or quick to work with.

Được chỉnh sửa bởi liamcrean vào

more options

@cor-el

Thanks - oddly, it does allow the browser to resize below, but the body is still set to 374, so all it does is create scollbars.