From 9372767443a4ea82ff4394fec23bfb724dcb9117 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 21 Jun 2026 08:52:58 +0000 Subject: [PATCH] Make Node Status card scrollable with a 5-column layout and invisible-by-default scrollbar --- src/index.css | 27 +++++++++++++++++++++++++++ src/pages/Infrastructure.tsx | 4 ++-- 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/src/index.css b/src/index.css index c5711f9..6e9e00f 100644 --- a/src/index.css +++ b/src/index.css @@ -39,6 +39,33 @@ html, body { overflow: hidden; } +.scrollbar-ghost { + scrollbar-width: thin; + scrollbar-color: transparent transparent; +} + +.scrollbar-ghost::-webkit-scrollbar { + width: 6px; +} + +.scrollbar-ghost::-webkit-scrollbar-track { + background: transparent; +} + +.scrollbar-ghost::-webkit-scrollbar-thumb { + background: transparent; + border-radius: 6px; +} + +.scrollbar-ghost:hover::-webkit-scrollbar-thumb, +.scrollbar-ghost:hover { + scrollbar-color: rgba(200, 164, 52, 0.25) transparent; +} + +.scrollbar-ghost:hover::-webkit-scrollbar-thumb { + background: rgba(200, 164, 52, 0.25); +} + /* Native