From 37687955d27466ea6f998a9c1badc9b2f6a048d6 Mon Sep 17 00:00:00 2001 From: Jon Seager Date: Mon, 9 Feb 2026 20:13:30 +0000 Subject: [PATCH] fix(templates): add space between flag emoji and country name --- templates/pages/roaster.html | 4 +++- templates/partials/detail_cards.html | 8 ++++++-- templates/partials/lists/cafe_list.html | 8 ++++++-- templates/partials/lists/roast_list.html | 4 +++- templates/partials/lists/roaster_list.html | 8 ++++++-- 5 files changed, 24 insertions(+), 8 deletions(-) diff --git a/templates/pages/roaster.html b/templates/pages/roaster.html index 8ee1762..c0eb0c8 100644 --- a/templates/pages/roaster.html +++ b/templates/pages/roaster.html @@ -30,7 +30,9 @@
Country
- {% if !roaster.country_flag.is_empty() %}{{ roaster.country_flag }}{% endif %}{{ roaster.country }} + {% if !roaster.country_flag.is_empty() %} + {{ roaster.country_flag }} + {% endif %}{{ roaster.country }}
{% if let Some(c) = roaster.city %} diff --git a/templates/partials/detail_cards.html b/templates/partials/detail_cards.html index e256746..6b716ff 100644 --- a/templates/partials/detail_cards.html +++ b/templates/partials/detail_cards.html @@ -62,7 +62,9 @@
Origin
- {% if !origin_flag.is_empty() %}{{ origin_flag }}{% endif %}{{ origin }} + {% if !origin_flag.is_empty() %} + {{ origin_flag }} + {% endif %}{{ origin }}
{% endif %} @@ -202,7 +204,9 @@
Country
- {% if !country_flag.is_empty() %}{{ country_flag }}{% endif %}{{ country }} + {% if !country_flag.is_empty() %} + {{ country_flag }} + {% endif %}{{ country }}
{% if let Some(c) = city %} diff --git a/templates/partials/lists/cafe_list.html b/templates/partials/lists/cafe_list.html index f023d07..82184c6 100644 --- a/templates/partials/lists/cafe_list.html +++ b/templates/partials/lists/cafe_list.html @@ -71,7 +71,9 @@ data-label="Location" class="px-4 py-3 whitespace-nowrap md:hidden" > - {% if !cafe.country_flag.is_empty() %}{{ cafe.country_flag }}{% endif %}{{ cafe.country }} + {% if !cafe.country_flag.is_empty() %} + {{ cafe.country_flag }} + {% endif %}{{ cafe.country }} - {% if !cafe.country_flag.is_empty() %}{{ cafe.country_flag }}{% endif %}{{ cafe.country }} + {% if !cafe.country_flag.is_empty() %} + {{ cafe.country_flag }} + {% endif %}{{ cafe.country }} - {% if !roast.origin_flag.is_empty() %}{{ roast.origin_flag }}{% endif %}{{ roast.origin }} + {% if !roast.origin_flag.is_empty() %} + {{ roast.origin_flag }} + {% endif %}{{ roast.origin }} {% if !roast.producer.is_empty() %}