From 87ffbda6a7c1cff5f407d0f0995e848f0a5ea729 Mon Sep 17 00:00:00 2001 From: Xevion Date: Thu, 28 Nov 2024 15:58:29 -0600 Subject: [PATCH] Match 'Bytes' & 'Logs' sections equally --- src/components/Bytes.tsx | 18 +++++++++++------- src/components/Logs.tsx | 5 ++++- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/src/components/Bytes.tsx b/src/components/Bytes.tsx index 6586e40..bb4224e 100644 --- a/src/components/Bytes.tsx +++ b/src/components/Bytes.tsx @@ -18,24 +18,28 @@ export default function Bytes({ className }: BytesProps) { className )} > -

Bytes

-

+

+ Bytes +

+

You can change the offset of the bytes modified in this menu if it doesn't work initially.

{bytes.map((byte, index) => (
16 * 10, - })} + className={cn( + "hover:bg-black/45 select-none", + Math.random() < 0.9 || index < 50 || index > 16 * 10 + ? "text-zinc-500" + : "cursor-pointer" + )} > {byte}
diff --git a/src/components/Logs.tsx b/src/components/Logs.tsx index 602a828..f1a2a33 100644 --- a/src/components/Logs.tsx +++ b/src/components/Logs.tsx @@ -26,7 +26,10 @@ export default function Logs() { return (
-

Logs

+

+ Logs +

+
{data.map((log) => { return (