mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
fix: adjust tooltip formatting for decrypted size display
This commit is contained in:
@@ -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)}`
|
||||||
: ''
|
: ''
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user