Nicer references.
[wolnelektury.git] / src / references / templates / references / map.html
index 1ea6508..242d92f 100644 (file)
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
+       max-height: 350px;
+       overflow-y: scroll;
    }
    .l-popup-books img {
        display: block;
    }
+   .l-popup-books .c-search-result-fragment {
+       padding: 0 0 20px 0;
+       border-width: 0;
+       border-radius: 0;
+   }
+   .l-popup-book-header {
+       display: flex;
+       gap: 16px;
+   }
   </style>
 {% endblock %}
 
 {% block global-content %}
 
-  <div id="map" style="height: calc(100vh - 68px"></div>
+  <div id="map" style="height: calc(100vh - 68px)"></div>
 
 {% endblock %}
 
 
 {% block extrabody %}
   <script>
-   var map = L.map('map').setView([51.505, -0.09], 8);
+   var map = L.map('map').setView([52, 20], 7);
    L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
        attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
    }).addTo(map);