diff --git a/web/src/index.css b/web/src/index.css
index 3439e8a..7779fad 100644
--- a/web/src/index.css
+++ b/web/src/index.css
@@ -34,4 +34,47 @@
.dark ::-webkit-scrollbar-thumb:hover {
background: rgb(100, 116, 139);
+}
+
+/* 标签过滤器滚动条样式 */
+.tag-filter-scrollbar {
+ scrollbar-width: thin;
+ scrollbar-color: rgb(203, 213, 225) transparent;
+ scrollbar-gutter: stable;
+}
+
+.tag-filter-scrollbar::-webkit-scrollbar {
+ height: 6px;
+}
+
+.tag-filter-scrollbar::-webkit-scrollbar-track {
+ background: rgb(241, 245, 249);
+ border-radius: 9999px;
+}
+
+.tag-filter-scrollbar::-webkit-scrollbar-thumb {
+ background: rgb(203, 213, 225);
+ border-radius: 9999px;
+ transition: background-color 0.2s;
+}
+
+.tag-filter-scrollbar::-webkit-scrollbar-thumb:hover {
+ background: rgb(148, 163, 184);
+}
+
+/* 暗色模式标签过滤器滚动条 */
+.dark .tag-filter-scrollbar {
+ scrollbar-color: rgb(71, 85, 105) transparent;
+}
+
+.dark .tag-filter-scrollbar::-webkit-scrollbar-track {
+ background: rgb(30, 41, 59);
+}
+
+.dark .tag-filter-scrollbar::-webkit-scrollbar-thumb {
+ background: rgb(71, 85, 105);
+}
+
+.dark .tag-filter-scrollbar::-webkit-scrollbar-thumb:hover {
+ background: rgb(100, 116, 139);
}
\ No newline at end of file
diff --git a/web/src/pages/Public/ServerList.tsx b/web/src/pages/Public/ServerList.tsx
index 1cbffb8..a8936d6 100644
--- a/web/src/pages/Public/ServerList.tsx
+++ b/web/src/pages/Public/ServerList.tsx
@@ -503,53 +503,57 @@ const ServerList = () => {
{/* 标签过滤器 */}
{tagsData && tagsData.length > 0 && (
-
-
- {tagsData.map((tag) => {
- const count = agents.filter(agent => agent.tags?.includes(tag)).length;
- if (count === 0) return null;
+
+
+
+ {tagsData.map((tag) => {
+ const count = agents.filter(agent => agent.tags?.includes(tag)).length;
+ if (count === 0) return null;
- return (
-
- );
- })}
+ return (
+
+ );
+ })}
+
+ {/* 右侧渐变提示 */}
+
)}