Permalink
Browse files

Add extra viewport to default set

The gap between Smartphone Landscape and Tablet landscape is too large, and you can't add a new one inbetween.
I'm proposing adding a Tablet landscape roughly halfway between. This gets a decent coverage in the default set (and makes it more useful for sending pages around for review)
  • Loading branch information...
1 parent e54b4db commit 9db594c3d9f62007af74c57d0175c3ea0c7b8745 @djmarland djmarland committed Feb 27, 2014
Showing with 9 additions and 3 deletions.
  1. +9 −3 js/viewporter.js
View
@@ -429,18 +429,24 @@ $(function (w) {
},
{
"id": 4,
+ "name": "Tablet Portrait",
+ "width": "768px",
+ "height": "Auto"
+ },
+ {
+ "id": 5,
"name": "Tablet Landscape",
"width": "1008px",
"height": "Auto"
},
{
- "id": 5,
+ "id": 6,
"name": "Desktop",
"width": "1024px",
"height": "Auto"
},
{
- "id": 6,
+ "id": 7,
"name": "Wide Desktop",
"width": "1280px",
"height": "Auto"
@@ -840,4 +846,4 @@ $(function (w) {
viewporter.init();
});
-}(this));
+}(this));

0 comments on commit 9db594c

Please sign in to comment.