Skip to content

A Simple and Universal Swarm Intelligence Engine, Predicting Anything. 简洁通用的群体智能引擎,预测万物

Add custom scrollbar styles for left and right panels in Step4Report component

666ghjbe90a46cb40f
diff --git a/frontend/src/components/Step4Report.vue b/frontend/src/components/Step4Report.vue
index 5f2666ed..31347d57 100644
--- a/frontend/src/components/Step4Report.vue
+++ b/frontend/src/components/Step4Report.vue
@@ -1196,6 +1196,23 @@ watch(() => props.reportId, (newId) => {
flex-direction: column;
}
+.left-panel::-webkit-scrollbar {
+ width: 4px;
+}
+
+.left-panel::-webkit-scrollbar-track {
+ background: transparent;
+}
+
+.left-panel::-webkit-scrollbar-thumb {
+ background: rgba(0, 0, 0, 0.15);
+ border-radius: 2px;
+}
+
+.left-panel::-webkit-scrollbar-thumb:hover {
+ background: rgba(0, 0, 0, 0.25);
+}
+
.outline-overview {
padding: 20px;
border-bottom: 1px solid #F3F4F6;
@@ -1567,6 +1584,23 @@ watch(() => props.reportId, (newId) => {
flex-direction: column;
}
+.right-panel::-webkit-scrollbar {
+ width: 4px;
+}
+
+.right-panel::-webkit-scrollbar-track {
+ background: transparent;
+}
+
+.right-panel::-webkit-scrollbar-thumb {
+ background: rgba(0, 0, 0, 0.12);
+ border-radius: 2px;
+}
+
+.right-panel::-webkit-scrollbar-thumb:hover {
+ background: rgba(0, 0, 0, 0.2);
+}
+
/* Workflow Timeline */
.workflow-timeline {
padding: 20px;