diff --git a/frontend/src/Hero.tsx b/frontend/src/Hero.tsx index e14e0cd1f..497fc41e2 100644 --- a/frontend/src/Hero.tsx +++ b/frontend/src/Hero.tsx @@ -7,9 +7,7 @@ export default function Hero({ className = '' }: { className?: string }) { const [isDarkTheme] = useDarkTheme(); return (
DocsGPT
@@ -39,16 +37,14 @@ export default function Hero({ className = '' }: { className?: string }) { > )}Chats
diff --git a/frontend/src/index.css b/frontend/src/index.css index 244d78709..263b86f86 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -2,6 +2,26 @@ @tailwind components; @tailwind utilities; +::-webkit-scrollbar { + width: 10px; +} +::-webkit-scrollbar-track { + background: #f1f1f1; +} +.dark ::-webkit-scrollbar-track { + background: #2f3036; +} +::-webkit-scrollbar-thumb { + background: #888; + border-radius: 40px; +} +::-webkit-scrollbar-thumb:hover { + background: #555; +} +.dark ::-webkit-scrollbar-thumb:hover { + background: #b1afaf; +} + /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ /* Document