Interactive interface for browsing global, full-resolution satellite imagery
Mobile mode in landscape mode
Mike McGann921526956f25
diff --git a/test/util/wv.util.browser-test.js b/test/util/wv.util.browser-test.jsindex d6bf0cd84..56e8e3071 100644--- a/test/util/wv.util.browser-test.js+++ b/test/util/wv.util.browser-test.js@@ -105,16 +105,25 @@ buster.testCase("wv.util.browser", {"Large device": function() {this.stub(window, "$").returns({- width: this.stub().returns(1000)+ width: this.stub().returns(1000),+ height: this.stub().returns(1000)});buster.refute(wv.util.browser.tests.small());},- "Small device": function() {+ "Small device, width": function() {this.stub(window, "$").returns({- width: this.stub().returns(600)+ width: this.stub().returns(600),+ height: this.stub().returns(1000)});buster.assert(wv.util.browser.tests.small());},+ "Small device, height": function() {+ this.stub(window, "$").returns({+ width: this.stub().returns(1000),+ height: this.stub().returns(300)+ });+ buster.assert(wv.util.browser.tests.small());+ }});diff --git a/web/css/products.css b/web/css/products.cssindex 2837f2a12..9a4aa807c 100644--- a/web/css/products.css+++ b/web/css/products.css@@ -70,7 +70,7 @@border-bottom: 3px rgb(99,53,45) solid;}-@media only screen and (max-width: 720px) and (orientation: portrait), only screen and (device-aspect-ratio: 2/3) and (orientation:portrait), only screen and (device-aspect-ratio:40/71) and (orientation:portrait){+@media only screen and (max-width: 720px) and (orientation: portrait), only screen and (max-height: 320px) and (orientation: landscape), only screen and (device-aspect-ratio: 2/3) and (orientation:portrait), only screen and (device-aspect-ratio:40/71) and (orientation:portrait){.products {display:block;float:left;diff --git a/web/js/util/wv.util.browser.js b/web/js/util/wv.util.browser.jsindex bea76a0b6..77bb56416 100644--- a/web/js/util/wv.util.browser.js+++ b/web/js/util/wv.util.browser.js@@ -185,7 +185,7 @@ wv.util.browser = wv.util.browser || (function() {};self.tests.small = function() {- return $(window).width() < 720;+ return $(window).width() < 720 || $(window).height() < 360;};self.tests.history = function() {