Skip to content

Commit

Permalink
set height and width
Browse files Browse the repository at this point in the history
  • Loading branch information
colleenmcginnis committed Nov 11, 2016
1 parent 32cd5a7 commit f67bfa5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/_posts/examples/3400-01-28-fullscreen.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
tags:
- controls-and-overlays
---
<style>
.mapboxgl-map:-webkit-full-screen {
width: 100%;
height: 100%;
}
</style>

<div id='map'></div>

Expand All @@ -20,4 +26,3 @@
var fullscreen = new mapboxgl.Fullscreen({position: 'top-left' });
map.addControl(fullscreen);
</script>

0 comments on commit f67bfa5

Please sign in to comment.