From cb254884ca1101d24b4c2516d5f5becca84677e8 Mon Sep 17 00:00:00 2001 From: Lachlan Kermode Date: Fri, 18 Jan 2019 16:14:41 +0000 Subject: [PATCH] only show sites toggle if USE_SITES --- src/components/ToolbarBottomActions.jsx | 8 ++++---- src/scss/map.scss | 10 +++++----- src/store/initial.js | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/components/ToolbarBottomActions.jsx b/src/components/ToolbarBottomActions.jsx index e20a4be..b35990d 100644 --- a/src/components/ToolbarBottomActions.jsx +++ b/src/components/ToolbarBottomActions.jsx @@ -13,10 +13,10 @@ function ToolbarBottomActions (props) { {/* onClick={(view) => this.toggleMapViews(view)} */} {/* isEnabled={this.props.viewFilters.routes} */} {/* /> */} - + {process.env.features.USE_SITES ? : null} {/* this.toggleMapViews(view)} */} {/* isEnabled={this.props.viewFilters.coevents} */} diff --git a/src/scss/map.scss b/src/scss/map.scss index 5d47661..054895e 100644 --- a/src/scss/map.scss +++ b/src/scss/map.scss @@ -16,11 +16,11 @@ .leaflet-container { height: 100%; - img.leaflet-tile { - -webkit-filter: contrast(120%) brightness(115%) grayscale(95%); /* Webkit */ - filter: gray; /* IE6-9 */ - filter: contrast(120%) brightness(115%) grayscale(95%); /* W3C */ - } + // img.leaflet-tile { + // -webkit-filter: contrast(120%) brightness(115%) grayscale(95%); /* Webkit */ + // filter: gray; /* IE6-9 */ + // filter: contrast(120%) brightness(115%) grayscale(95%); /* W3C */ + // } } &.hidden { diff --git a/src/store/initial.js b/src/store/initial.js index ad7f021..32e5c6f 100644 --- a/src/store/initial.js +++ b/src/store/initial.js @@ -51,7 +51,7 @@ const initial = { language: 'en-US', map: { anchor: [31.356397, 34.784818], - startZoom: 10, + startZoom: 11, minZoom: 7, maxZoom: 18, bounds: null,