Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Add styles and browser support for 1280x800 resolution devices

ZachTRiceee34e160cb5d
diff --git a/web/css/tour.css b/web/css/tour.css
index ec38f537e..4272a7dfb 100644
--- a/web/css/tour.css
+++ b/web/css/tour.css
@@ -773,11 +773,23 @@
}
@media (max-height: 776px) {
+ .tour-in-progress .modal-content {
+ max-height: 300px;
+ }
+}
+
+@media (max-height: 712px) {
.tour-in-progress .modal-content {
max-height: 250px;
}
}
+@media (max-height: 665px) {
+ .tour-in-progress .modal-content {
+ max-height: 200px;
+ }
+}
+
@media (min-height: 665px) {
.tour {
display: block;
diff --git a/web/js/components/tour/tour.js b/web/js/components/tour/tour.js
index 610e598c7..c087b3485 100644
--- a/web/js/components/tour/tour.js
+++ b/web/js/components/tour/tour.js
@@ -47,7 +47,7 @@ class Tour extends React.Component {
if (window.innerWidth < 740) {
this.setState({ modalStart: false, modalInProgress: false, modalComplete: false });
}
- if (window.innerHeight < 665) {
+ if (window.innerHeight < 615) {
this.setState({ modalStart: false, modalInProgress: false, modalComplete: false });
}
}