feat: display the number of bytes on the edit binary modal

This commit is contained in:
Josep M Sobrepere
2025-07-02 21:27:57 +02:00
parent 884c172755
commit be2fd98063
+3 -1
View File
@@ -164,7 +164,9 @@ const BinaryEditModalContent: FC<
</div>
</div>
<div>
<div className="text-slate-400">Hex data</div>
<div className="text-slate-400">
Hex data{isValid ? ` (${value.length} bytes)` : ""}
</div>
<textarea
className={twMerge(
"bg-white rounded w-full min-h-20 text-slate-950 p-1 tabular-nums border-2",