From 0250cbdc0af50b43c4e581ea54faacbdc258bf2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Thu, 17 Oct 2024 13:30:43 +0200 Subject: [PATCH] tracer: Move event view scrollbar styling to CSS --- apps/tracer/src/EventView.css | 1 + apps/tracer/src/EventView.tsx | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/tracer/src/EventView.css b/apps/tracer/src/EventView.css index 0a4339c..0f1a404 100644 --- a/apps/tracer/src/EventView.css +++ b/apps/tracer/src/EventView.css @@ -1,6 +1,7 @@ .event-list { padding: 5px; font-size: 12px; + scrollbar-color: #e4e4e4 #555; } .event-heading { diff --git a/apps/tracer/src/EventView.tsx b/apps/tracer/src/EventView.tsx index abd209b..89ca891 100644 --- a/apps/tracer/src/EventView.tsx +++ b/apps/tracer/src/EventView.tsx @@ -106,7 +106,6 @@ export default function EventView({ ref={listRef} outerRef={listOuterRef} className="event-list" - style={{ scrollbarColor: "#e4e4e4 #555" }} width={width} height={height} itemCount={items.length}