Interactive interface for browsing global, full-resolution satellite imagery
Make prod picker fully responsive #577
Benjamin Kingaac208b73c4b
diff --git a/web/css/layers.css b/web/css/layers.cssindex 29c1b430a..a443ecbbb 100644--- a/web/css/layers.css+++ b/web/css/layers.css@@ -657,9 +657,14 @@}.custom-layer-dialog {+ width: 978px;max-width: 978px;background-color: #e8e8e8;}+.custom-layer-dialog .product-outter-list-case {+ width: 963px;+ padding: 0 13px 13px 0;+}.custom-layer-dialog .modal-content {background-color: #dcdcdc;}@@ -677,11 +682,6 @@}.custom-layer-dialog .category-masonry-case {overflow: hidden;- padding: 13px;-}-.custom-layer-dialog .category-masonry-case,-.custom-layer-dialog .layers-all {- padding: 0 13px 13px 0;}.layer-bread-crumb .breadcrumb {margin-bottom: 0;@@ -692,20 +692,35 @@margin-right: 10px;}-@media (max-width: 1000px) {+@media (max-width: 1024px) {.custom-layer-dialog {- max-width: 658px;+ width: 658px;+ }+ .custom-layer-dialog .product-outter-list-case {+ width: 643px;}}@media (max-width: 700px) {+ .measurement-row .source-settings {+ border-top: 1px solid #d54e21;+ margin-top: 10px;+ padding-top: 5px;+ }.custom-layer-dialog {- max-width: auto;- min-width: 332px;+ width: auto;}.layer-category {width: 100%;}+ .custom-layer-dialog .product-outter-list-case {+ width: 100%;+ }.category-background-cover {background-size: cover;}+ .layer-modal-content .categories-nav .nav-link {+ font-size: 11px;+ padding: 1px 7px;+ margin: 0 12px 0 0;+ }}diff --git a/web/css/mobile.css b/web/css/mobile.cssindex 02befea4a..ebd9665cb 100644--- a/web/css/mobile.css+++ b/web/css/mobile.css@@ -14,7 +14,7 @@background: rgb(38, 43, 49);border-radius: 0 10px 10px 0;top: 0;- z-index: 10100;+ z-index: 1000;}.sidebar-panel {@@ -36,7 +36,7 @@}#wv-logo {- background: url("../brand/images/wv-logo-mobile.svg?v=@BUILD_NONCE@")+ background: url('../brand/images/wv-logo-mobile.svg?v=@BUILD_NONCE@')no-repeat center rgba(40, 40, 40, 0.85);display: block;height: 42px;diff --git a/web/js/components/layer/category-list.js b/web/js/components/layer/category-list.jsindex 62b3a1edd..822f5221a 100644--- a/web/js/components/layer/category-list.js+++ b/web/js/components/layer/category-list.js@@ -21,7 +21,7 @@ class CategoryList extends React.Component {} = this.props;const masonryOptions = {transitionDuration: '0.6s',- columnWidth: width >= 656 ? 310 : width - 26,+ columnWidth: width >= 630 ? 310 : width - 26,gutter: 10};categories.map(item => {diff --git a/web/js/components/layer/product-picker.js b/web/js/components/layer/product-picker.jsindex 5762e757d..7da2c920a 100644--- a/web/js/components/layer/product-picker.js+++ b/web/js/components/layer/product-picker.js@@ -189,7 +189,7 @@ class ProductPicker extends React.Component {)}<Scrollbars style={{ maxHeight: height - 40 + 'px' }}>- <div>+ <div className="product-outter-list-case">{isCategoryDisplay ? (<CategoryListcategories={lodashValues(categoryConfig[categoryType])}