From aeb929ba04ec0d2b505338f2f3e882f313b198d7 Mon Sep 17 00:00:00 2001 From: Jicheng Lu <103353@smsassist.com> Date: Tue, 14 Jul 2026 17:06:15 -0500 Subject: [PATCH] fix file gallery styles --- src/lib/common/files/FileGallery.svelte | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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) {