Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

remove classname conditional change to prevent sidebar width and height change on modal open

Ed Platoaf5b600031af
diff --git a/web/js/components/sidebar/sidebar.js b/web/js/components/sidebar/sidebar.js
index 79d14dafd..5c3a09b94 100644
--- a/web/js/components/sidebar/sidebar.js
+++ b/web/js/components/sidebar/sidebar.js
@@ -168,7 +168,6 @@ class Sidebar extends React.Component {
onGetData,
windowHeight,
filterEventList,
- modalOpen,
projection
} = this.state;
const {
@@ -224,11 +223,7 @@ class Sidebar extends React.Component {
/>
<div
id="productsHolder"
- className={
- modalOpen
- ? 'layer-modal-open products-holder-case'
- : 'products-holder-case'
- }
+ className="products-holder-case"
style={
isCollapsed
? { maxHeight: '0' }