Skip to content

Commit

Permalink
[pref] Add default desktop viewport width and zoom level
Browse files Browse the repository at this point in the history
  • Loading branch information
rainemak committed Nov 3, 2015
1 parent d7a85af commit 77e493e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions embedding/embedlite/embedding.js
Expand Up @@ -119,6 +119,11 @@ pref("dom.experimental_forms", true);
pref("extensions.getAddons.cache.enabled", true);
pref("toolkit.browser.contentViewExpire", 3000);

pref("browser.viewport.desktopWidth", 980);
// The default fallback zoom level to render pages at. Set to -1 to fit page; otherwise
// the value is divided by 1000 and clamped to hard-coded min/max scale values.
pref("browser.viewport.defaultZoom", -1);

/* cache prefs */
pref("browser.cache.disk.enable", true);
pref("browser.cache.disk.capacity", 20480); // kilobytes
Expand Down

0 comments on commit 77e493e

Please sign in to comment.