Can't resize below 374px (FF27.0)
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)
hello limbox, you could try the responsive design view in the web developer tools (shortcut on windows is ctrl+shift+m).
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; }
@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
@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.