Merge pull request #9839 from mike-000/patch-1

Enable correct display of side-by-side example when not using the examples template
This commit is contained in:
Andreas Hocevar
2019-08-09 00:40:38 +02:00
committed by GitHub
2 changed files with 12 additions and 7 deletions

View File

@@ -1,4 +1,7 @@
@media (min-width: 800px) {
.wrapper {
display: flex;
}
.half {
padding: 0 10px;
width: 50%;

View File

@@ -9,11 +9,13 @@ cloak:
- key: As1HiMj1PvLPlqc_gtM7AqZfBL8ZL3VrjaS3zIb22Uvb9WKhuJObROC-qUpa81U5
value: Your Bing Maps Key from http://www.bingmapsportal.com/ here
---
<div class="half">
<h4>Road</h4>
<div id="roadMap" class="map"></div>
</div>
<div class="half">
<h4>Aerial</h4>
<div id="aerialMap" class="map"></div>
<div class="wrapper">
<div class="half">
<h4>Road</h4>
<div id="roadMap" class="map"></div>
</div>
<div class="half">
<h4>Aerial</h4>
<div id="aerialMap" class="map"></div>
</div>
</div>