diff --git a/frontend/src/lib/components/AdventureCard.svelte b/frontend/src/lib/components/AdventureCard.svelte index 3aeb6bc..dbdf5e4 100644 --- a/frontend/src/lib/components/AdventureCard.svelte +++ b/frontend/src/lib/components/AdventureCard.svelte @@ -321,11 +321,8 @@ .line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; + line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } - - .shadow-3xl { - box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.25); - } diff --git a/frontend/src/lib/components/ChecklistCard.svelte b/frontend/src/lib/components/ChecklistCard.svelte index 37a024f..cb30b45 100644 --- a/frontend/src/lib/components/ChecklistCard.svelte +++ b/frontend/src/lib/components/ChecklistCard.svelte @@ -62,43 +62,53 @@ on:confirm={deleteChecklist} /> {/if} -
+
{checklist.items.length} {checklist.items.length > 1 ? $t('checklist.items') : $t('checklist.item')}
{/if} - {#if unlinked} -{new Date(checklist.date).toLocaleDateString(undefined, { timeZone: 'UTC' })}
{collection.adventures.length} {$t('navbar.adventures')}
- {#if collection.start_date && collection.end_date} -- {$t('adventures.dates')}: {new Date(collection.start_date).toLocaleDateString(undefined, { - timeZone: 'UTC' - })} - - {new Date(collection.end_date).toLocaleDateString(undefined, { timeZone: 'UTC' })} -
- -- {$t('adventures.duration')}: {Math.floor( - (new Date(collection.end_date).getTime() - new Date(collection.start_date).getTime()) / - (1000 * 60 * 60 * 24) - ) + 1}{' '} - days -
{/if} ++ {collection.adventures.length} + {$t('navbar.adventures')} +
+ + + {#if collection.start_date && collection.end_date} ++ {$t('adventures.dates')}: + {new Date(collection.start_date).toLocaleDateString(undefined, { timeZone: 'UTC' })} – + {new Date(collection.end_date).toLocaleDateString(undefined, { timeZone: 'UTC' })} +
++ {$t('adventures.duration')}: {Math.floor( + (new Date(collection.end_date).getTime() - new Date(collection.start_date).getTime()) / + (1000 * 60 * 60 * 24) + ) + 1} days +
+ {/if} +{lodging.location}
+ {$t('adventures.location')}: +{lodging.location}
- {formatDateInTimezone(lodging.check_in ?? '', lodging.timezone ?? undefined)} – - {formatDateInTimezone(lodging.check_out ?? '', lodging.timezone ?? undefined)} + {$t('adventures.dates')}: +
+ {formatDateInTimezone(lodging.check_in, lodging.timezone)} – + {formatDateInTimezone(lodging.check_out, lodging.timezone)} {#if lodging.timezone} - ({lodging.timezone}) + ({lodging.timezone}) {/if}
{lodging.reservation_number}
+ {$t('adventures.reservation_number')}: +{lodging.reservation_number}
{lodging.price}
+ {$t('adventures.price')}: +{lodging.price}
- {note.links.length} - {note.links.length > 1 ? $t('adventures.links') : $t('adventures.link')} -
-+ {note.links.length} + {note.links.length > 1 ? $t('adventures.links') : $t('adventures.link')} +
+{new Date(note.date).toLocaleDateString(undefined, { timeZone: 'UTC' })}
{region.country_name}
-{region.num_cities} {$t('worldtravel.cities')}
-{region.id}
+