File tree 3 files changed +26
-4
lines changed
3 files changed +26
-4
lines changed Original file line number Diff line number Diff line change @@ -322,14 +322,14 @@ tr.violation-detail td {
322
322
text-align : center;
323
323
margin-top : 15px ;
324
324
}
325
- }
326
-
327
325
326
+ }
328
327
329
328
.main-map {
330
329
height : 300px ;
331
330
margin-bottom : 10px ;
332
331
}
332
+
333
333
@media screen and (max-width : 768px ) {
334
334
.main-map {
335
335
height : 150px ;
@@ -346,3 +346,25 @@ tr.violation-detail td {
346
346
padding-right : 13px ;
347
347
348
348
}
349
+
350
+ /* Content Desktop controls what is visible based on typical
351
+ content size of iPad portrait, otherwise the content is
352
+ hidden
353
+ */
354
+
355
+ @media screen and (min-width : 768px ) {
356
+
357
+ .content-desktop {
358
+ display : block;
359
+ }
360
+
361
+ }
362
+
363
+ @media screen and (min-width : 0px ) and (max-width : 768px ) {
364
+
365
+ .content-desktop {
366
+ display : none;
367
+ }
368
+
369
+ }
370
+
Original file line number Diff line number Diff line change 8
8
{% block body_id %}establishment-list{% endblock %}
9
9
10
10
{% block map %}
11
- < div class ="row ">
11
+ < div class ="row content-desktop ">
12
12
< div class =" col-md-12 ">
13
13
< div id ='map ' class ="main-map "> </ div >
14
14
</ div >
Original file line number Diff line number Diff line change 5
5
6
6
{% block map %}
7
7
< h1 > MAP</ h1 >
8
- < div class ="row col-md-12 ">
8
+ < div class ="row col-md-12 content-desktop ">
9
9
{% leaflet_map "main-map" callback="main_map_init" %}
10
10
< script type ="text/javascript ">
11
11
function main_map_init ( map , options ) {
You can’t perform that action at this time.
0 commit comments