From bf604bc07c6218d9e2a76d2aebed1101a43831cd Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Mon, 6 May 2024 16:19:48 -0700 Subject: [PATCH] refac: styling --- src/app.css | 9 +++++++++ src/lib/components/chat/Messages/CitationsModal.svelte | 6 ++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/app.css b/src/app.css index dccc6e092..7d111bd48 100644 --- a/src/app.css +++ b/src/app.css @@ -82,3 +82,12 @@ select { .katex-mathml { display: none; } + +.scrollbar-none:active::-webkit-scrollbar-thumb, +.scrollbar-none:focus::-webkit-scrollbar-thumb, +.scrollbar-none:hover::-webkit-scrollbar-thumb { + visibility: visible; +} +.scrollbar-none::-webkit-scrollbar-thumb { + visibility: hidden; +} diff --git a/src/lib/components/chat/Messages/CitationsModal.svelte b/src/lib/components/chat/Messages/CitationsModal.svelte index 06fc920b4..c7db034be 100644 --- a/src/lib/components/chat/Messages/CitationsModal.svelte +++ b/src/lib/components/chat/Messages/CitationsModal.svelte @@ -45,8 +45,10 @@ -
-
+
+
{#each mergedDocuments as document, documentIdx}