From 695331dd1a140c8ee9da1d0fc94c7a55850e6d20 Mon Sep 17 00:00:00 2001 From: Midgard Date: Tue, 13 Oct 2020 02:18:43 +0200 Subject: [PATCH] Fix margin in ordered dishes, less bold --- app/templates/order.html | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/app/templates/order.html b/app/templates/order.html index ef219d5..5216b98 100644 --- a/app/templates/order.html +++ b/app/templates/order.html @@ -232,7 +232,7 @@

Ordered dishes

{% for dish_name, dish_order_items in order.group_by_dish() -%} {% set has_comments = dish_order_items | map(attribute="comment") | any -%} -
+

{{ dish_order_items | length }} × {{ dish_name }} @@ -361,6 +361,11 @@ h3 { font-size: 150%; font-weight: 500; } +h4 { + margin-bottom: 0.6em; + font-size: 110%; + font-weight: 500; +} .location { font-size: 150%; font-weight: 500; @@ -392,12 +397,6 @@ dl { margin-bottom: 0; } -.box h4 { - font-size: 110%; - font-weight: bold; - margin-bottom: 0.6em; -} - .spacecake { display: flex; align-items: flex-end; @@ -426,10 +425,6 @@ li { #per_dish .comments li { } -#per_dish .dish.no_comments { - display: flex; - align-items: flex-end; -} #per_dish .dish.no_comments h4 { margin-bottom: 0; line-height: inherit;