Skip to content

Commit

Permalink
change map start location and do not collapse header
Browse files Browse the repository at this point in the history
  • Loading branch information
atvaccaro committed Jun 27, 2023
1 parent 7169e97 commit c50b0d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/maps/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
import * as convert from 'color-convert';
const STATE_QUERY_PARAM = "state";
const START_LAT_LON = [34.05, -118.25];
const LEAFLET_START_ZOOM = 13;
const START_LAT_LON = [37.6, -120.1];
const LEAFLET_START_ZOOM = 6;
const DEFAULT_BASEMAP_CONFIG = {
"url": 'https://{s}.basemaps.cartocdn.com/{variant}/{z}/{x}/{y}{r}.png',
"options": {
Expand Down Expand Up @@ -361,6 +361,8 @@
height: 550px;
}
/* Use :global to prevent namespacing of CSS for elements that are created dynamically */
/* TODO: maybe we can define some of these things up front? For example create the legend div in HTML. */
:global(.tooltip-meta-list) {
Expand Down
1 change: 1 addition & 0 deletions apps/maps/src/variables.scss
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/* Variables and mixins declared here will be available in all other SCSS files */ /* https://github.com/jgthms/bulma/issues/1293 */
$body-overflow-y: auto;
$navbar-breakpoint: 0;

0 comments on commit c50b0d8

Please sign in to comment.