Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
fixing retina basemap issue and popup scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
David Hickman committed Aug 30, 2017
1 parent c59e129 commit fb6a08f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/reducers/baseLayers.es
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const initialState = {
'url': `https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}`,
'options': {
'attribution': 'Tiles © Esri — Source: Esri, DeLorme, NAVTEQ, USGS, Intermap, iPC, NRCAN, Esri Japan, METI, Esri China (Hong Kong), Esri (Thailand), TomTom, 2012',
'detectRetina': true,
'detectRetina': false,
'layerId': 'esri-world-streetmap'
}
},
Expand Down
5 changes: 2 additions & 3 deletions src/sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,8 @@ body {
.leaflet-popup-content-wrapper {
padding: 0 0 1px 0;
border-radius: 0;

max-height: 578px;
overflow-y: auto;
.leaflet-popup-content {
margin: 0 0 0 0;
}
Expand All @@ -448,8 +449,6 @@ body {
}

.popup__content {
max-height: 550px;
overflow-y: auto;
padding-top: 47px;
}

Expand Down

0 comments on commit fb6a08f

Please sign in to comment.