1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-05 05:05:17 +02:00

Merge pull request #264 from seanmorley15/development

fix region card
This commit is contained in:
Sean Morley 2024-08-20 18:08:41 -04:00 committed by GitHub
commit ede5f19f8a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -57,7 +57,7 @@
class="card w-full max-w-xs sm:max-w-sm md:max-w-md lg:max-w-md xl:max-w-md bg-primary-content shadow-xl overflow-hidden text-base-content" class="card w-full max-w-xs sm:max-w-sm md:max-w-md lg:max-w-md xl:max-w-md bg-primary-content shadow-xl overflow-hidden text-base-content"
> >
<div class="card-body"> <div class="card-body">
{#if region.name !== region?.name_en} {#if region.name_en && region.name !== region.name_en}
<h2 class="card-title overflow-ellipsis">{region.name} ({region.name_en})</h2> <h2 class="card-title overflow-ellipsis">{region.name} ({region.name_en})</h2>
{:else} {:else}
<h2 class="card-title overflow-ellipsis">{region.name}</h2> <h2 class="card-title overflow-ellipsis">{region.name}</h2>