fix(web): improve asset name readability in dark mode (#19012)

This commit is contained in:
Jin Xuan 2025-06-09 01:43:05 +08:00 committed by GitHub
parent acca040524
commit 28e05537bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -501,7 +501,7 @@
/>
{#if showAssetName && !isTimelineAsset(currentAsset)}
<div
class="absolute text-center p-1 text-xs font-mono font-semibold w-full bottom-0 bg-linear-to-t bg-slate-50/75 overflow-clip text-ellipsis whitespace-pre-wrap"
class="absolute text-center p-1 text-xs font-mono font-semibold w-full bottom-0 bg-linear-to-t bg-slate-50/75 dark:bg-slate-800/75 overflow-clip text-ellipsis whitespace-pre-wrap"
>
{currentAsset.originalFileName}
</div>