Skip to content

Commit

Permalink
update map size
Browse files Browse the repository at this point in the history
  • Loading branch information
crosalot committed May 5, 2020
1 parent ebab372 commit 4b123db
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/js/app-home.js
Original file line number Diff line number Diff line change
Expand Up @@ -435,10 +435,10 @@

var paddingTopLeft;
if (matchMedia(Foundation.media_queries['large']).matches) {
paddingTopLeft = [200, 0];
paddingTopLeft = [100, 0];
}
else {
paddingTopLeft = [0, 100];
paddingTopLeft = [0, 50];
}

dashboard.map.fitBounds(bounds, {
Expand Down
2 changes: 1 addition & 1 deletion app/js/config.sample.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var LANG = 'th';
var MAP_DEFAULT_OPTIONS = {
latitude: 13.751690,
longitude: 100.491882,
zoom: 10
zoom: 11
};

var DEFAULT_CITY = "Bangkok";
Expand Down
2 changes: 1 addition & 1 deletion app/scss/v1/_map.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#map {
width: 100%;
height: 40%;
min-height: 500px;
min-height: 250px;
overflow: hidden;
}

Expand Down

0 comments on commit 4b123db

Please sign in to comment.