Skip to content

Commit 072ee5b

Browse files
authored
Fix location overlap on index page user locations (#463)
* Fix location overlap on index page user locations * Fixups * Fixups * Fixups
1 parent 5a64d0f commit 072ee5b

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/index.njk

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ layout: false
3131
{% set country = person.data.country %}
3232
{% set location = person.data.location %}
3333
{% if location or country %}
34-
<span class="shrink-0 text-[10px] bg-[var(--bg-footer)] text-[var(--text-muted)] px-2 py-1 rounded font-bold uppercase border border-[var(--border-color)]">
35-
{{ location }}{% if location and country %}, {% endif %}{{ country }}
36-
</span>
34+
<div class="flex flex-col items-end gap-0.5 shrink-0 text-[10px] bg-[var(--bg-footer)] text-[var(--text-muted)] px-2 py-1 rounded font-bold uppercase border border-[var(--border-color)]">
35+
{% if location %}<span>{{ location }}</span>{% endif %}
36+
{% if country %}<span>{{ country }}</span>{% endif %}
37+
</div>
3738
{% endif %}
3839
</div>
3940

0 commit comments

Comments
 (0)