Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

fixed @media triggering for a small span of pixels at desktop break-point

VictorSaf0189ba0fed
diff --git a/web/scss/features/sidebar-panel.scss b/web/scss/features/sidebar-panel.scss
index 30aa18990..894920bca 100644
--- a/web/scss/features/sidebar-panel.scss
+++ b/web/scss/features/sidebar-panel.scss
@@ -605,8 +605,8 @@ li.item.productsitem.inmotion,
color: #c5c5c8;
}
-@media screen and (max-width: $tablet-max-width) and (orientation: landscape),
- (max-width: $mobile-max-width) {
+@media screen and (max-width: 1024px) and (max-height: 768px) and (orientation: landscape),
+ (max-width: 768px) {
.toggleIconHolder {
height: 50px;
width: 50px;
diff --git a/web/scss/features/sidebar.scss b/web/scss/features/sidebar.scss
index 11ef90635..90812cb20 100644
--- a/web/scss/features/sidebar.scss
+++ b/web/scss/features/sidebar.scss
@@ -28,7 +28,8 @@
border-right: 1px solid #333;
border-left: 1px solid #333;
- @media (max-width: $mobile-max-width) {
+ @media screen and (max-width: 1024px) and (max-height: 768px) and (orientation: landscape),
+ (max-width: 768px) {
&.nav-tabs {
height: $wv-mob-sb-tabs-height;
@@ -225,8 +226,8 @@ footer .compare-toggle-button {
max-width: 232px;
line-height: 15px;
- @media screen and (max-width: $tablet-max-width) and (orientation: landscape),
- (max-width: $mobile-max-width) {
+ @media screen and (max-width: 1024px) and (max-height: 768px) and (orientation: landscape),
+ (max-width: 768px) {
font-size: 16px;
}
}
diff --git a/web/scss/overrides/react-search-ui.scss b/web/scss/overrides/react-search-ui.scss
index 14b814f14..437c098a8 100644
--- a/web/scss/overrides/react-search-ui.scss
+++ b/web/scss/overrides/react-search-ui.scss
@@ -79,8 +79,8 @@
}
}
-@media (max-width: $tablet-max-width) and (orientation: landscape),
-(max-width: $mobile-max-width) {
+@media screen and (max-width: 1024px) and (max-height: 768px) and (orientation: landscape),
+ (max-width: 768px) {
.facet-container .inner-container {
div.no-matches {
font-size: 20px;