Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

merge fixes

Ed Platof4a219eeb837
diff --git a/web/js/components/map/coordinates.test.js b/web/js/components/map/coordinates.test.js
index 82414728a..b71c7b176 100644
--- a/web/js/components/map/coordinates.test.js
+++ b/web/js/components/map/coordinates.test.js
@@ -1,7 +1,7 @@
/* eslint-disable no-restricted-syntax */
import React from 'react';
import renderer from 'react-test-renderer';
-import { Coordinates } from './coordinates';
+import Coordinates from './coordinates';
describe('formats', () => {
const formats = ['latlon-dd', 'latlon-dm', 'latlon-dms'];
diff --git a/web/js/components/map/ol-coordinates.js b/web/js/components/map/ol-coordinates.js
index 68cd20b21..40d5d39fb 100644
--- a/web/js/components/map/ol-coordinates.js
+++ b/web/js/components/map/ol-coordinates.js
@@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import { transform } from 'ol/proj';
-import { Coordinates } from './coordinates';
+import Coordinates from './coordinates';
import util from '../../util/util';
export class OlCoordinates extends React.Component {
diff --git a/web/js/containers/sidebar/sidebar.js b/web/js/containers/sidebar/sidebar.js
index d34c4b40d..4a0430bde 100644
--- a/web/js/containers/sidebar/sidebar.js
+++ b/web/js/containers/sidebar/sidebar.js
@@ -200,11 +200,10 @@ class Sidebar extends React.Component {
ref={(el) => {
this.sideBarCase = el;
}}
- style={
- isCollapsed
- ? { maxHeight: '0' }
- : { maxHeight: `${screenHeight}px` }
- }
+ style={{
+ maxHeight: isCollapsed ? '0' : `${screenHeight}px`,
+ display: isDistractionFreeModeActive ? 'none' : 'block',
+ }}
onWheel={wheelCallBack}
>
{!isCollapsed && (