Skip to content

Commit 45c82c4

Browse files
committed
Merge pull request #40 from jasonhinkle/patch-1
Style overrides for Bootstrap modal example
2 parents 9318afa + c745664 commit 45c82c4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

examples/mapInModalDialog.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
<script src="../dist/locationpicker.jquery.min.js"></script>
1212
<title>Simple example</title>
1313
<meta name="viewport" content="width=device-width, initial-scale=1.0">
14+
<style>
15+
/* style overrides for bootstrap/google map conflicts */
16+
.gm-style img {max-width: none;}
17+
.gm-style label {width: auto; display:inline;}
18+
.pac-container {z-index:2000 !important;}
19+
</style>
1420
</head>
1521
<body>
1622
<button data-target="#us6-dialog" data-toggle="modal">Click hear to open dialog</button>
@@ -70,4 +76,4 @@ <h4 class="modal-title">Modal title</h4>
7076
</div><!-- /.modal-dialog -->
7177
</div><!-- /.modal -->
7278
</body>
73-
</html>
79+
</html>

0 commit comments

Comments
 (0)