Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

set widths to variables

VictorSe9cbe032d9de
diff --git a/web/scss/features/sidebar-panel.scss b/web/scss/features/sidebar-panel.scss
index 894920bca..884e40cb2 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: 1024px) and (max-height: 768px) and (orientation: landscape),
- (max-width: 768px) {
+@media screen and (max-width: $desktop-min-width) and (max-height: $mobile-max-width) and (orientation: landscape),
+ (max-width: $mobile-max-width) {
.toggleIconHolder {
height: 50px;
width: 50px;
diff --git a/web/scss/features/sidebar.scss b/web/scss/features/sidebar.scss
index 90812cb20..6d05d9291 100644
--- a/web/scss/features/sidebar.scss
+++ b/web/scss/features/sidebar.scss
@@ -28,8 +28,8 @@
border-right: 1px solid #333;
border-left: 1px solid #333;
- @media screen and (max-width: 1024px) and (max-height: 768px) and (orientation: landscape),
- (max-width: 768px) {
+ @media screen and (max-width: $desktop-min-width) and (max-height: $mobile-max-width) and (orientation: landscape),
+ (max-width: $mobile-max-width) {
&.nav-tabs {
height: $wv-mob-sb-tabs-height;
@@ -226,8 +226,8 @@ footer .compare-toggle-button {
max-width: 232px;
line-height: 15px;
- @media screen and (max-width: 1024px) and (max-height: 768px) and (orientation: landscape),
- (max-width: 768px) {
+ @media screen and (max-width: $desktop-min-width) and (max-height: $mobile-max-width) and (orientation: landscape),
+ (max-width: $mobile-max-width) {
font-size: 16px;
}
}
diff --git a/web/scss/overrides/react-search-ui.scss b/web/scss/overrides/react-search-ui.scss
index 437c098a8..e694b5a71 100644
--- a/web/scss/overrides/react-search-ui.scss
+++ b/web/scss/overrides/react-search-ui.scss
@@ -79,8 +79,8 @@
}
}
-@media screen and (max-width: 1024px) and (max-height: 768px) and (orientation: landscape),
- (max-width: 768px) {
+@media screen and (max-width: $desktop-min-width) and (max-height: $mobile-max-width) and (orientation: landscape),
+ (max-width: $mobile-max-wdith) {
.facet-container .inner-container {
div.no-matches {
font-size: 20px;