diff --git a/src/lib/common/files/FileGallery.svelte b/src/lib/common/files/FileGallery.svelte index 84f4640b..e3ff2d69 100644 --- a/src/lib/common/files/FileGallery.svelte +++ b/src/lib/common/files/FileGallery.svelte @@ -162,9 +162,6 @@ {:else} {''} {/if} - {#if !!file.file_name} -
{file.file_name}
- {/if} {/each} @@ -260,6 +257,11 @@ font-size: 0.7rem; line-height: 1.2; } + :global(.svelte-lightbox-footer h2), + :global(.svelte-lightbox-footer h5), + :global(.svelte-lightbox-footer p) { + text-align: center; + } /* Narrow viewports: shrink the thumbnail box (mirrors the legacy 500px media query). */ @media (max-width: 500px) {