Remove unused code from trip list HTML

This commit is contained in:
Edward Betts 2024-05-20 18:33:53 +02:00
parent a96aefe22b
commit 8181dfbe3b

View file

@ -8,71 +8,42 @@
<link rel="stylesheet" href="{{ url_for("static", filename="leaflet/leaflet.css") }}"> <link rel="stylesheet" href="{{ url_for("static", filename="leaflet/leaflet.css") }}">
{% set conference_column_count = 8 %}
{% set accommodation_column_count = 8 %}
{% set travel_column_count = 10 %}
<style> <style>
.conferences { body, html {
display: grid; height: 100%;
grid-template-columns: repeat({{ conference_column_count }}, auto); /* 7 columns for each piece of information */ margin: 0;
gap: 10px; }
justify-content: start; .container-fluid {
} height: calc(100% - 56px); /* Subtracting the height of the navbar */
}
.accommodation { .text-content {
display: grid; overflow-y: scroll;
grid-template-columns: repeat({{ accommodation_column_count }}, auto); height: 100%;
gap: 10px; }
justify-content: start; .map-container {
} position: sticky;
top: 56px; /* Adjust to be below the navbar */
.travel { height: calc(100vh - 56px); /* Subtracting the height of the navbar */
display: grid; }
grid-template-columns: repeat({{ travel_column_count }}, auto); #map {
gap: 10px; height: 100%;
justify-content: start; }
}
.grid-item {
/* Additional styling for grid items can go here */
}
body, html {
height: 100%;
margin: 0;
}
.container-fluid {
height: calc(100% - 56px); /* Subtracting the height of the navbar */
}
.text-content {
overflow-y: scroll;
height: 100%;
}
.map-container {
position: sticky;
top: 56px; /* Adjust to be below the navbar */
height: calc(100vh - 56px); /* Subtracting the height of the navbar */
}
#map {
height: 100%;
}
@media (max-width: 767.98px) {
.container-fluid {
display: block;
height: auto;
}
.map-container {
position: relative;
top: 0;
height: 50vh; /* Adjust as needed */
}
.text-content {
height: auto;
overflow-y: auto;
}
}
@media (max-width: 767.98px) {
.container-fluid {
display: block;
height: auto;
}
.map-container {
position: relative;
top: 0;
height: 50vh; /* Adjust as needed */
}
.text-content {
height: auto;
overflow-y: auto;
}
}
</style> </style>
{% endblock %} {% endblock %}