Use columns in order info faster, align prices in menu

This commit is contained in:
Midgard 2020-10-13 02:07:50 +02:00
parent c23a11bfdb
commit d3e6c1b08c
Signed by: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -82,7 +82,7 @@
{% if dish.tags %}<span class="tags"> {{ dish.tags | join(", ") }}</span>{% endif %} {% if dish.tags %}<span class="tags"> {{ dish.tags | join(", ") }}</span>{% endif %}
--> -->
<span class="spacer"></span> <span class="spacer"></span>
<span class="price">{{ dish.price_range() | price_range }}</span> <span class="price_aligned">{{ dish.price_range() | price_range }}</span>
</summary> </summary>
{% if dish.description %}<div class="description">{{ dish.description }}</div>{% endif %} {% if dish.description %}<div class="description">{{ dish.description }}</div>{% endif %}
{% for (choice_type, choice) in dish.choices %} {% for (choice_type, choice) in dish.choices %}
@ -374,7 +374,7 @@ h3 {
margin-bottom: 30px; margin-bottom: 30px;
} }
@media (min-width: 1200px) { @media (min-width: 500px) {
#order_info dl { #order_info dl {
display: grid; display: grid;
grid-template-columns: 1fr 1fr; grid-template-columns: 1fr 1fr;