diff --git a/frontend/src/views/CreateTask.vue b/frontend/src/views/CreateTask.vue index 5618cb8..19702ed 100644 --- a/frontend/src/views/CreateTask.vue +++ b/frontend/src/views/CreateTask.vue @@ -2200,6 +2200,26 @@ onUnmounted(() => { border-right: 1px solid #303030 !important; height: 280px !important; // 增加高度以便容纳更多选项 + // 自定义滚动条样式 + &::-webkit-scrollbar { + width: 6px; + height: 6px; + } + + &::-webkit-scrollbar-track { + background: transparent; + border-radius: 3px; + } + + &::-webkit-scrollbar-thumb { + background: rgba(255, 255, 255, 0.15); + border-radius: 3px; + + &:hover { + background: rgba(255, 255, 255, 0.25); + } + } + &:last-child { border-right: none !important; }