fix(templates): add space between flag emoji and country name
This commit is contained in:
parent
9291c3fe8c
commit
37687955d2
5 changed files with 24 additions and 8 deletions
|
|
@ -30,7 +30,9 @@
|
||||||
<div>
|
<div>
|
||||||
<dt class="text-text-muted">Country</dt>
|
<dt class="text-text-muted">Country</dt>
|
||||||
<dd class="font-medium text-text">
|
<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>
|
</dd>
|
||||||
</div>
|
</div>
|
||||||
{% if let Some(c) = roaster.city %}
|
{% if let Some(c) = roaster.city %}
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,9 @@
|
||||||
<div>
|
<div>
|
||||||
<dt class="text-text-muted">Origin</dt>
|
<dt class="text-text-muted">Origin</dt>
|
||||||
<dd class="font-medium text-text">
|
<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>
|
</dd>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
@ -202,7 +204,9 @@
|
||||||
<div>
|
<div>
|
||||||
<dt class="text-text-muted">Country</dt>
|
<dt class="text-text-muted">Country</dt>
|
||||||
<dd class="font-medium text-text">
|
<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>
|
</dd>
|
||||||
</div>
|
</div>
|
||||||
{% if let Some(c) = city %}
|
{% if let Some(c) = city %}
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,9 @@
|
||||||
data-label="Location"
|
data-label="Location"
|
||||||
class="px-4 py-3 whitespace-nowrap md:hidden"
|
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>
|
||||||
<td
|
<td
|
||||||
data-label="City"
|
data-label="City"
|
||||||
|
|
@ -83,7 +85,9 @@
|
||||||
data-label="Country"
|
data-label="Country"
|
||||||
class="mobile-hidden px-4 py-3 whitespace-nowrap"
|
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>
|
||||||
<td
|
<td
|
||||||
data-label="City"
|
data-label="City"
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,9 @@
|
||||||
{{ roast.roaster_label }}
|
{{ roast.roaster_label }}
|
||||||
</td>
|
</td>
|
||||||
<td data-label="Origin" class="px-4 py-3 whitespace-nowrap">
|
<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() %}
|
{% if !roast.producer.is_empty() %}
|
||||||
<div class="hidden md:block text-xs text-text-muted">
|
<div class="hidden md:block text-xs text-text-muted">
|
||||||
{{ roast.producer }}
|
{{ roast.producer }}
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,9 @@
|
||||||
data-label="Location"
|
data-label="Location"
|
||||||
class="px-4 py-3 whitespace-nowrap md:hidden"
|
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>
|
</td>
|
||||||
{% if !roaster.city.is_empty() %}
|
{% if !roaster.city.is_empty() %}
|
||||||
<td
|
<td
|
||||||
|
|
@ -85,7 +87,9 @@
|
||||||
data-label="Country"
|
data-label="Country"
|
||||||
class="mobile-hidden px-4 py-3 whitespace-nowrap"
|
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>
|
||||||
<td
|
<td
|
||||||
data-label="City"
|
data-label="City"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue