fix(templates): add space between flag emoji and country name

This commit is contained in:
Jon Seager 2026-02-09 20:13:30 +00:00
parent 9291c3fe8c
commit 37687955d2
No known key found for this signature in database
5 changed files with 24 additions and 8 deletions

View file

@ -30,7 +30,9 @@
<div>
<dt class="text-text-muted">Country</dt>
<dd class="font-medium text-text">
{% if !roaster.country_flag.is_empty() %}{{ roaster.country_flag }}{% endif %}{{ roaster.country }}
{% if !roaster.country_flag.is_empty() %}
<span class="mr-1">{{ roaster.country_flag }}</span>
{% endif %}{{ roaster.country }}
</dd>
</div>
{% if let Some(c) = roaster.city %}

View file

@ -62,7 +62,9 @@
<div>
<dt class="text-text-muted">Origin</dt>
<dd class="font-medium text-text">
{% if !origin_flag.is_empty() %}{{ origin_flag }}{% endif %}{{ origin }}
{% if !origin_flag.is_empty() %}
<span class="mr-1">{{ origin_flag }}</span>
{% endif %}{{ origin }}
</dd>
</div>
{% endif %}
@ -202,7 +204,9 @@
<div>
<dt class="text-text-muted">Country</dt>
<dd class="font-medium text-text">
{% if !country_flag.is_empty() %}{{ country_flag }}{% endif %}{{ country }}
{% if !country_flag.is_empty() %}
<span class="mr-1">{{ country_flag }}</span>
{% endif %}{{ country }}
</dd>
</div>
{% if let Some(c) = city %}

View file

@ -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() %}
<span class="mr-1">{{ cafe.country_flag }}</span>
{% endif %}{{ cafe.country }}
</td>
<td
data-label="City"
@ -83,7 +85,9 @@
data-label="Country"
class="mobile-hidden px-4 py-3 whitespace-nowrap"
>
{% if !cafe.country_flag.is_empty() %}{{ cafe.country_flag }}{% endif %}{{ cafe.country }}
{% if !cafe.country_flag.is_empty() %}
<span class="mr-1">{{ cafe.country_flag }}</span>
{% endif %}{{ cafe.country }}
</td>
<td
data-label="City"

View file

@ -75,7 +75,9 @@
{{ roast.roaster_label }}
</td>
<td data-label="Origin" class="px-4 py-3 whitespace-nowrap">
{% if !roast.origin_flag.is_empty() %}{{ roast.origin_flag }}{% endif %}{{ roast.origin }}
{% if !roast.origin_flag.is_empty() %}
<span class="mr-1">{{ roast.origin_flag }}</span>
{% endif %}{{ roast.origin }}
{% if !roast.producer.is_empty() %}
<div class="hidden md:block text-xs text-text-muted">
{{ roast.producer }}

View file

@ -71,7 +71,9 @@
data-label="Location"
class="px-4 py-3 whitespace-nowrap md:hidden"
>
{% if !roaster.country_flag.is_empty() %}{{ roaster.country_flag }}{% endif %}{{ roaster.country }}
{% if !roaster.country_flag.is_empty() %}
<span class="mr-1">{{ roaster.country_flag }}</span>
{% endif %}{{ roaster.country }}
</td>
{% if !roaster.city.is_empty() %}
<td
@ -85,7 +87,9 @@
data-label="Country"
class="mobile-hidden px-4 py-3 whitespace-nowrap"
>
{% if !roaster.country_flag.is_empty() %}{{ roaster.country_flag }}{% endif %}{{ roaster.country }}
{% if !roaster.country_flag.is_empty() %}
<span class="mr-1">{{ roaster.country_flag }}</span>
{% endif %}{{ roaster.country }}
</td>
<td
data-label="City"