mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-29 17:20:44 +02:00
Make document sidebar scrollbar darker
This commit is contained in:
@ -68,7 +68,7 @@ export function DocumentSidebar({
|
||||
</div>
|
||||
|
||||
{currentDocuments ? (
|
||||
<div className="overflow-y-auto overflow-x-hidden flex flex-col">
|
||||
<div className="overflow-y-auto dark-scrollbar overflow-x-hidden flex flex-col">
|
||||
<div>
|
||||
{dedupedDocuments.length > 0 ? (
|
||||
dedupedDocuments.map((document, ind) => (
|
||||
@ -141,7 +141,7 @@ export function DocumentSidebar({
|
||||
</div>
|
||||
|
||||
{selectedDocuments && selectedDocuments.length > 0 ? (
|
||||
<div className="flex flex-col gap-y-2 py-3 px-3 overflow-y-auto max-h-full">
|
||||
<div className="flex flex-col gap-y-2 py-3 px-3 overflow-y-auto dark-scrollbar max-h-full">
|
||||
{selectedDocuments.map((document) => (
|
||||
<SelectedDocumentDisplay
|
||||
key={document.document_id}
|
||||
|
@ -17,6 +17,15 @@
|
||||
background: #d1d5db; /* Handle color on hover */
|
||||
}
|
||||
|
||||
.dark-scrollbar::-webkit-scrollbar-thumb {
|
||||
background: #c7cdd2; /* Handle color */
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.dark-scrollbar::-webkit-scrollbar-thumb:hover {
|
||||
background: #989a9c; /* Handle color on hover */
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 8px; /* Vertical scrollbar width */
|
||||
height: 8px; /* Horizontal scrollbar height */
|
||||
|
Reference in New Issue
Block a user