Set map div size in example send to codesandbox

This commit is contained in:
Frederic Junod
2019-03-15 13:53:58 +01:00
parent 1637cffbe9
commit 5f8450d67d

View File

@@ -127,9 +127,13 @@
<title>{{ title }}</title>
<!-- The line below is only needed for old environments like Internet Explorer and Android 4.x -->
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL"></script>{{#if extraHead.remote}}
{{ indent extraHead.remote spaces=4 }}{{/if}}{{#if css.source}}
{{ indent extraHead.remote spaces=4 }}{{/if}}
<style>
{{ indent css.source spaces=6 }} </style>{{/if}}
.map {
width: 100%;
height:400px;
}
{{#if css.source}}{{ indent css.source spaces=6 }}{{/if}} </style>
</head>
<body>
{{ indent contents spaces=4 }} <script src="index.js"></script>