diff --git a/pages/src/components/HeroSection.tsx b/pages/src/components/HeroSection.tsx index d657ace1..3d4a9e57 100644 --- a/pages/src/components/HeroSection.tsx +++ b/pages/src/components/HeroSection.tsx @@ -518,13 +518,16 @@ const HeroSection: React.FC = () => { }} > {activeChannel.cmd} diff --git a/pages/src/styles/index.css b/pages/src/styles/index.css index 1b2a5aa3..34be891a 100644 --- a/pages/src/styles/index.css +++ b/pages/src/styles/index.css @@ -47,6 +47,28 @@ a { background: rgba(255,255,255,0.3); } +.command-scroll { + scrollbar-width: thin; + scrollbar-color: rgba(255, 255, 255, 0.15) transparent; +} + +.command-scroll::-webkit-scrollbar { + height: 4px; +} + +.command-scroll::-webkit-scrollbar-track { + background: transparent; +} + +.command-scroll::-webkit-scrollbar-thumb { + background: rgba(255, 255, 255, 0.15); + border-radius: 2px; +} + +.command-scroll::-webkit-scrollbar-thumb:hover { + background: rgba(255, 255, 255, 0.3); +} + /* Terminal cursor blink */ @keyframes cursor-blink { 0%, 100% { opacity: 1; }