Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

feat: Set the global scroll bar style #2247 (#2265)

balibabu445576ec88e5
diff --git a/web/src/global.less b/web/src/global.less
index d5e17323c9..c95fdb0bdd 100644
--- a/web/src/global.less
+++ b/web/src/global.less
@@ -17,3 +17,25 @@ body {
.ant-app {
height: 100%;
}
+
+/* Scroll bar stylings */
+::-webkit-scrollbar {
+ width: 10px;
+ height: 10px;
+}
+
+/* Track */
+::-webkit-scrollbar-track {
+ background: rgb(219, 218, 218);
+}
+
+/* Handle */
+::-webkit-scrollbar-thumb {
+ background: #aaaaaa;
+ border-radius: 5px;
+}
+
+/* Handle on hover */
+::-webkit-scrollbar-thumb:hover {
+ background: #888;
+}
diff --git a/web/src/pages/search/index.less b/web/src/pages/search/index.less
index d92494e468..31d0f1f4fd 100644
--- a/web/src/pages/search/index.less
+++ b/web/src/pages/search/index.less
@@ -5,8 +5,6 @@
inset-inline-start: 0;
top: 0;
bottom: 0;
- scrollbar-width: thin;
- scrollbar-color: unset;
.checkGroup {
width: 100%;