Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc fixes for web components demos #1733

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion samples/web-components-map/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
-->
{% extends '../../src/_includes/layout.njk'%} {% block html %}
<!-- [START maps_web_components_map_gmpmap] -->
<gmp-map center="37.4220656,-122.0840897" zoom="10" map-id="DEMO_MAP_ID" style="height: 400px"></gmp-map>
<gmp-map center="37.4220656,-122.0840897" zoom="10" style="height: 400px"></gmp-map>
<!-- [END maps_web_components_map_gmpmap] -->
{% endblock %}
4 changes: 2 additions & 2 deletions samples/web-components-map/web-components-map.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"title": "Add a Map using HTML",
"callback": "initMap",
"libraries": [],
"libraries": ["maps"],
"version": "beta",
"tag": "web_components_map",
"name": "web-components-map",
Expand All @@ -11,4 +11,4 @@
"alias": "mode"
},
"permalink": "samples/{{ page.fileSlug }}/{{mode}}/{% if mode == 'jsfiddle' %}demo{% else %}index{% endif %}.{{ page.outputFileExtension }}"
}
}
4 changes: 0 additions & 4 deletions samples/web-components-markers/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,4 @@
/* [START maps_web_components_markers] */
@include meta.load-css("../../shared/scss/default.scss");

gmp-map {
height: 400px;
}

/* [END maps_web_components_markers] */
4 changes: 2 additions & 2 deletions samples/web-components-markers/web-components-markers.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"title": "Add a Map with Markers using HTML",
"callback": "initMap",
"libraries": ["marker"],
"libraries": ["maps", "marker"],
"version": "beta",
"tag": "web_components_markers",
"name": "web-components-markers",
Expand All @@ -11,4 +11,4 @@
"alias": "mode"
},
"permalink": "samples/{{ page.fileSlug }}/{{mode}}/{% if mode == 'jsfiddle' %}demo{% else %}index{% endif %}.{{ page.outputFileExtension }}"
}
}
Loading