fix(char): hide caption when none
Build and Deploy / build-and-deploy (push) Successful in 2m43s

This commit is contained in:
2026-07-09 07:50:15 +07:00 Unverified
parent d4136b7b24
commit 95c241413a
+6 -4
View File
@@ -385,11 +385,13 @@ export async function CharacterPage({
})} })}
</div> </div>
{/* caption */} {/* caption */}
<div tw="absolute bottom-[6%] left-[7%] right-[9.5%] z-10 flex justify-center"> {caption && (
<div tw="max-w-lg text-[0.95em] text-center bg-black/40 p-[0.5em_0.7em] border-[0.4em]"> <div tw="absolute bottom-[6%] left-[7%] right-[9.5%] z-10 flex justify-center">
{caption} <div tw="max-w-lg text-[0.95em] text-center bg-black/40 p-[0.5em_0.7em] border-[0.4em]">
{caption}
</div>
</div> </div>
</div> )}
{/* uid */} {/* uid */}
<div tw="flex mb-[-1em] ml-[-.3em] mt-[.3em] text-[.96em] opacity-80"> <div tw="flex mb-[-1em] ml-[-.3em] mt-[.3em] text-[.96em] opacity-80">
{uid} {uid}