fix: adjust tooltip formatting for decrypted size display

This commit is contained in:
2026-01-26 23:15:25 -05:00
parent ca79582693
commit a7481b5852
@@ -535,9 +535,9 @@
class="flex" class="flex"
use:tooltip={`${ use:tooltip={`${
data.paste.isCompressed ? `Compressed Size: ${formatBytes(data.paste.size)}` : '' data.paste.isCompressed ? `Compressed Size: ${formatBytes(data.paste.size)}` : ''
} • ${ }${
data.paste.visibility === 2 data.paste.visibility === 2
? `Decrypted Size: ${formatBytes(decryptedContent ? new TextEncoder().encode(decryptedContent).length : 0)}` ? ` • Decrypted Size: ${formatBytes(decryptedContent ? new TextEncoder().encode(decryptedContent).length : 0)}`
: '' : ''
}`} }`}
> >